Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Fix a shutdown issue in causal clustering
Sometimes when you shutdown the cluster and the leader is trying to replicate a transaction, it might happen that the replication effort is failing since the followers are already gone and the transaction therad is stuck in the replication loop forever. This commit will fix that by making the replication code aware of when the database is shutdown.
- Loading branch information
1 parent
22cbf9e
commit 6a64c99
Showing
4 changed files
with
79 additions
and
46 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