Skip to content

Commit

Permalink
fix replication error if use sync command (#421)
Browse files Browse the repository at this point in the history
  • Loading branch information
menwenjun committed Mar 4, 2022
1 parent fdf9f5d commit 308edc3
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions src/redis-shake/dbSync/dbSyncer.go
Expand Up @@ -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()

Expand Down

0 comments on commit 308edc3

Please sign in to comment.