Skip to content

Commit

Permalink
fix(info): print Total BloomFilter Size with totalBloomFilter instead…
Browse files Browse the repository at this point in the history
… of totalIndex (#2145)
  • Loading branch information
LiuQhahah authored Jan 4, 2025
1 parent eba96a1 commit 6f5ff28
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion badger/cmd/info.go
Original file line number Diff line number Diff line change
Expand Up @@ -305,7 +305,7 @@ func tableInfo(dir, valueDir string, db *badger.DB) {
}
fmt.Println()
fmt.Printf("Total Index Size: %s\n", hbytes(int64(totalIndex)))
fmt.Printf("Total BloomFilter Size: %s\n", hbytes(int64(totalIndex)))
fmt.Printf("Total BloomFilter Size: %s\n", hbytes(int64(totalBloomFilter)))
fmt.Printf("Mean Compression Ratio: %.2f\n", totalCompressionRatio/float64(len(tables)))
fmt.Println()
}
Expand Down

0 comments on commit 6f5ff28

Please sign in to comment.