Adding etcdutl test coverage.

This commit is contained in:
Piotr Tabor
2021-05-16 16:01:07 +02:00
parent b6a8ae8372
commit d99d0df5a5
12 changed files with 131 additions and 33 deletions

View File

@ -465,7 +465,7 @@ func (b *backend) defrag() error {
size2, sizeInUse2 := b.Size(), b.SizeInUse()
if b.lg != nil {
b.lg.Info(
"defragmented",
"finished defragmenting directory",
zap.String("path", dbp),
zap.Int64("current-db-size-bytes-diff", size2-size1),
zap.Int64("current-db-size-bytes", size2),