Skip to content

Commit 6f5ff28

Browse files
authored
fix(info): print Total BloomFilter Size with totalBloomFilter instead of totalIndex (#2145)
1 parent eba96a1 commit 6f5ff28

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

badger/cmd/info.go

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -305,7 +305,7 @@ func tableInfo(dir, valueDir string, db *badger.DB) {
305305
}
306306
fmt.Println()
307307
fmt.Printf("Total Index Size: %s\n", hbytes(int64(totalIndex)))
308-
fmt.Printf("Total BloomFilter Size: %s\n", hbytes(int64(totalIndex)))
308+
fmt.Printf("Total BloomFilter Size: %s\n", hbytes(int64(totalBloomFilter)))
309309
fmt.Printf("Mean Compression Ratio: %.2f\n", totalCompressionRatio/float64(len(tables)))
310310
fmt.Println()
311311
}

0 commit comments

Comments
 (0)