Skip to content

Commit 205cee6

Browse files
committed
Shardsize display update
1 parent 35f2845 commit 205cee6

File tree

1 file changed

+2
-2
lines changed

1 file changed

+2
-2
lines changed

cmd/shardsize/main.go

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -61,10 +61,10 @@ func main() {
6161
}
6262

6363
sort.Sort(estypes.IndexSort(indexList))
64-
log.Infof(" Index Size Shards (Optimal Shards)")
64+
log.Infof(" Index IndexSize ShardSize Shards (Optimal Shards)")
6565
for _, sc := range indexList {
6666
if sc.OptimalShards-sc.ShardCount > 10 {
67-
log.Infof("%20s: %7s %3d:%8d", sc.Name, bytefmt.ByteSize(uint64(sc.ByteSize)), sc.ShardCount, sc.OptimalShards)
67+
log.Infof("%20s: %7s %12s %3d %8d", sc.Name, bytefmt.ByteSize(uint64(sc.ByteSize)), bytefmt.ByteSize(uint64(sc.BytesPerShard)), sc.ShardCount, sc.OptimalShards)
6868
}
6969
}
7070
}

0 commit comments

Comments
 (0)