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

Augment VTOrc to also store the shard records and use it to better judge Primary recoveries #13587

Merged
merged 15 commits into from
Jul 27, 2023

Commits on Jul 21, 2023

  1. feat: added code to store and read shard records in VTOrc

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    bdc038f View commit details
    Browse the repository at this point in the history
  2. feat: add code to refresh the shard information along with keyspaces

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    652fab9 View commit details
    Browse the repository at this point in the history
  3. feat: fix getreplicationanalysis to take into account the shard prima…

    …ry alias
    
    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 21, 2023
    Configuration menu
    Copy the full SHA
    11c6000 View commit details
    Browse the repository at this point in the history

Commits on Jul 24, 2023

  1. feat: add a option to ERS to wait for all the tablets and use it for …

    …primary tablet deleted recovery
    
    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    13efe14 View commit details
    Browse the repository at this point in the history
  2. feat: also store the primary term start time and use that in GetRepli…

    …cationAnalysis
    
    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    eba4f90 View commit details
    Browse the repository at this point in the history
  3. feat: introduce end to end test to verify the changes work

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    1c7a01d View commit details
    Browse the repository at this point in the history
  4. feat: fix testing function

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    f0639fc View commit details
    Browse the repository at this point in the history
  5. feat: clear shard record in vtorc tests

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    5955f56 View commit details
    Browse the repository at this point in the history
  6. test: ignore error that is expected

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 24, 2023
    Configuration menu
    Copy the full SHA
    dc7c023 View commit details
    Browse the repository at this point in the history

Commits on Jul 26, 2023

  1. feat: add comments to make code a little clearer

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    d8890b7 View commit details
    Browse the repository at this point in the history
  2. feat: export wait for all tablets as a parameter that users can pass …

    …from vtctld too
    
    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    f5afc81 View commit details
    Browse the repository at this point in the history
  3. feat: add additional unit test

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    1eab4a9 View commit details
    Browse the repository at this point in the history
  4. feat: add docs in summary

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    a3aff37 View commit details
    Browse the repository at this point in the history
  5. Merge remote-tracking branch 'upstream/main' into vtorc-ers-shard-pri…

    …mary
    
    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 26, 2023
    Configuration menu
    Copy the full SHA
    246ee37 View commit details
    Browse the repository at this point in the history

Commits on Jul 27, 2023

  1. refactor: rename variables and standardize code

    Signed-off-by: Manan Gupta <manan@planetscale.com>
    GuptaManan100 committed Jul 27, 2023
    Configuration menu
    Copy the full SHA
    355a6b5 View commit details
    Browse the repository at this point in the history