Skip to content

Commit

Permalink
Fix
Browse files Browse the repository at this point in the history
  • Loading branch information
noname0443 committed Jan 10, 2024
1 parent c8ba1bb commit db17ef4
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion internal/app/replication.go
Original file line number Diff line number Diff line change
Expand Up @@ -41,7 +41,7 @@ func (app *App) MarkReplicationRunning(node *mysql.Node, channel string) {
newGtidSet := gtids.ParseGtidSet(status.GetExecutedGtidSet())
oldGtidSet := gtids.ParseGtidSet(replState.LastGTIDExecuted)

if !isGTIDLessOrEqual(oldGtidSet, newGtidSet) {
if !isGTIDLessOrEqual(newGtidSet, oldGtidSet) {
delete(app.replRepairState, key)
}
}
Expand Down

0 comments on commit db17ef4

Please sign in to comment.