mirror of
https://github.com/etcd-io/etcd.git
synced 2024-09-27 06:25:44 +00:00
parent
2e3b55eb7b
commit
e5a35c827c
@ -257,7 +257,7 @@ func (b *backend) Snapshot() Snapshot {
|
|||||||
zap.String("size", humanize.Bytes(uint64(dbBytes))),
|
zap.String("size", humanize.Bytes(uint64(dbBytes))),
|
||||||
)
|
)
|
||||||
} else {
|
} 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:
|
case <-stopc:
|
||||||
|
Loading…
x
Reference in New Issue
Block a user