fix replication error if use sync command (#421)

v4
menwen 3 years ago committed by GitHub
parent fdf9f5d54e
commit 308edc3a4c
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
  1. 1
      src/redis-shake/dbSync/dbSyncer.go

@ -117,6 +117,7 @@ func (ds *DbSyncer) Sync() {
// sync
input, nsize = ds.sendSyncCmd(ds.source, conf.Options.SourceAuthType, ds.sourcePassword,
conf.Options.SourceTLSEnable, conf.Options.SourceTLSSkipVerify)
isFullSync = true
}
defer input.Close()

Loading…
Cancel
Save