Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Add capability create consistent transactions #4533

Merged
merged 1 commit into from
Jan 18, 2019

Conversation

systay
Copy link
Collaborator

@systay systay commented Jan 18, 2019

To make this possible, some things are added:

  • The capability to lock all tables on a tablet, to momentarily stop updates
  • Once the database is locked, we can create multiple consistent snapshot
    transactions that all share the same view of the data
  • Adds the capability to have replication move forward to a specific point
    in the transaction log

This commit also refactors tabletserver and tx_engine, moving logic of
state transitions into the tx engine.

(This is a squashed version of #4310)

To make this possible, some things are added:
 - The capability to lock all tables on a tablet, to momenterily stop updates
 - Once the database is locked, we can create multiple consistent snapshot
   transactions that all share the same view of the data
 - Adds the capability to have replication move forward to a specific point
   in the transaction log

This commit also refactors tabletserver and tx_engine, moving logic of
state transitions into the tx engine.

Signed-off-by: Andres Taylor <antaylor@squareup.com>
@sougou
Copy link
Contributor

sougou commented Jan 18, 2019

🎉

@sougou sougou merged commit 69a2183 into vitessio:master Jan 18, 2019
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants