From e5a35c827cdad96167a1ff0775411d4893963184 Mon Sep 17 00:00:00 2001 From: zimash Date: Thu, 16 Jan 2020 23:05:10 +0300 Subject: [PATCH] mvcc: incomplete fix in #11502 (#11533) --- mvcc/backend/backend.go | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/mvcc/backend/backend.go b/mvcc/backend/backend.go index 92cb843cb..c1a7ed75f 100644 --- a/mvcc/backend/backend.go +++ b/mvcc/backend/backend.go @@ -257,7 +257,7 @@ func (b *backend) Snapshot() Snapshot { zap.String("size", humanize.Bytes(uint64(dbBytes))), ) } else { - plog.Warningf("snapshotting is taking more than %v seconds to finish transferring %v MB [started at %v]", time.Since(start).Seconds(), float64(dbBytes)/float64(1024*1014), start) + plog.Warningf("snapshotting is taking more than %v seconds to finish transferring %v MB [started at %v]", time.Since(start).Seconds(), float64(dbBytes)/float64(1024*1024), start) } case <-stopc: