-
Notifications
You must be signed in to change notification settings - Fork 132
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pump/: Fix block at wait for MaxCommitTS when offline (#701)
* pump/: Fix block at wait for MaxCommitTS when offline when offline: 1, ApplyAction change statue to be closing, reject write but accept fake binlog 2, commitStatus() -> waitSafeToOffline(), we will write a fake binlog and wait when storage.MaxCommitTS() >= commit ts of the fake binlog ... after 1, may having some unwritten c-binlog(we will reject the write request from tidb), and in sorter, block at s.cond.Wait case because no more any item push.
- Loading branch information
Showing
4 changed files
with
46 additions
and
11 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters