serialize replication stats() only when needed (#16280)

This commit is contained in:
Harshavardhana
2022-12-20 00:07:53 -08:00
committed by GitHub
parent 5a218f38a1
commit a5f8af4efb
2 changed files with 7 additions and 5 deletions

View File

@@ -638,7 +638,7 @@ type replicationResyncer struct {
}
const (
replicationDir = "replication"
replicationDir = ".replication"
resyncFileName = "resync.bin"
resyncMetaFormat = 1
resyncMetaVersionV1 = 1