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

Use LOCK TABLES during SwitchWrites to prevent lost writes #9481

Merged
merged 6 commits into from
Jan 14, 2022

Commits on Jan 8, 2022

  1. Use LOCK TABLES during SwitchWrites to prevent lost writes

    Signed-off-by: Matt Lord <mattalord@gmail.com>
    mattlord committed Jan 8, 2022
    Configuration menu
    Copy the full SHA
    f8f1885 View commit details
    Browse the repository at this point in the history
  2. Test for an open transaction that straddles a MoveTables SwitchWrites

    Signed-off-by: Rohit Nayak <rohit@planetscale.com>
    Signed-off-by: Matt Lord <mattalord@gmail.com>
    rohit-nayak-ps authored and mattlord committed Jan 8, 2022
    Configuration menu
    Copy the full SHA
    3f4fea1 View commit details
    Browse the repository at this point in the history
  3. Improve error and type handling in LOCK TABLE related code

    And update tests
    
    Signed-off-by: Matt Lord <mattalord@gmail.com>
    mattlord committed Jan 8, 2022
    Configuration menu
    Copy the full SHA
    e61e873 View commit details
    Browse the repository at this point in the history

Commits on Jan 10, 2022

  1. Add LockSpecificTables RPC and Leverage existing UnlockTables RPC

    Signed-off-by: Matt Lord <mattalord@gmail.com>
    mattlord committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    47a3403 View commit details
    Browse the repository at this point in the history
  2. Simplify LOCK TABLES related logic in SwitchWrites after testing

    Signed-off-by: Matt Lord <mattalord@gmail.com>
    mattlord committed Jan 10, 2022
    Configuration menu
    Copy the full SHA
    f40758c View commit details
    Browse the repository at this point in the history

Commits on Jan 13, 2022

  1. Address review comments

    Signed-off-by: Matt Lord <mattalord@gmail.com>
    mattlord committed Jan 13, 2022
    Configuration menu
    Copy the full SHA
    f48a5d8 View commit details
    Browse the repository at this point in the history