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

This commit is contained in:
Harshavardhana authored and GitHub committed 2022-12-20 00:07:53 -08:00
1 parent 5a218f38a1
commit a5f8af4efb
2 files changed
+7 -5

No files matched your search

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