Skip to content

Commit

Permalink
Merge branch 'fix-resign-owner-cause-capture-restart-bug' of github.c…
Browse files Browse the repository at this point in the history
…om:sdojjy/tiflow into fix-resign-owner-cause-capture-restart-bug
  • Loading branch information
sdojjy committed Mar 15, 2024
2 parents 418c6b1 + 2979d2d commit 130403f
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion cdc/capture/capture.go
Original file line number Diff line number Diff line change
Expand Up @@ -537,7 +537,7 @@ func (c *captureImpl) campaignOwner(ctx cdcContext.Context) error {
globalState,
// todo: do not use owner flush interval
ownerFlushInterval, util.RoleController.String())
// controller is exited, tell owner to exit the loop.
// controller has exited, stop owner.
c.owner.AsyncStop()
return er
})
Expand Down

0 comments on commit 130403f

Please sign in to comment.