Merge 266270c7aba58cb22b6761b3419ee1ccf84624a9 into c86c93ca2951338115159dcdd20711603044e1f1

This commit is contained in:
shuangyang qian 2024-09-26 09:27:54 +08:00 committed by GitHub
commit 4bbdc10684
No known key found for this signature in database
GPG Key ID: B5690EEEBB952194

View File

@ -72,6 +72,7 @@ func (s *store) scheduleCompaction(compactMainRev, prevCompactRev int64) (KeyVal
"finished scheduled compaction",
zap.Int64("compact-revision", compactMainRev),
zap.Duration("took", time.Since(totalStart)),
zap.Int("number-of-keys-compacted", keyCompactions),
zap.Uint32("hash", hash.Hash),
zap.Int64("current-db-size-bytes", size),
zap.String("current-db-size", humanize.Bytes(uint64(size))),