Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Slave now dont see record reads contaminated by record reuse
MASTER Master now buffer ids for a specified time, called the safe zone. Within this safe zone window records are guaranteed not to be reused. SLAVE UpdatePuller makes sure no transactions break the safe zone boundary by killing transactions that fall outside during pull update. The transactions store the latest_applied_transaction_commit_time when they start and `TransactionCommitingResonseUnpacker` kills the transactions as new transactions (pulled from master) get applied by comparing the stored commit_time with the new latest_applied_transaction_commit_time after applying the batch. If the batch itself spans over a greater time than what fits inside the safe zone, no more transacions can be started on slave until the entire batch is applied. Safe zone is configurable through ... a setting SECONDARY CHANGES Added knowledge about last tx commit timestamp to MetaDataStore and StoreMigrator
- Loading branch information
Showing
70 changed files
with
2,122 additions
and
499 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
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
Oops, something went wrong.