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

Backup/restore: provision and restore a tablet with point-in-time recovery flags #13964

Merged
merged 16 commits into from
Sep 28, 2023

Commits on Sep 12, 2023

  1. vttablet: support init flags: --restore_to_timestamp, --restore_to_po…

    …s, behaving like --restore_from_backup but for PITR
    
    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    9d68d2c View commit details
    Browse the repository at this point in the history
  2. adding a 'spare' tablet, unstarted, in backup_utils

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    813b7d7 View commit details
    Browse the repository at this point in the history
  3. iterate all four tablets

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    e832cc2 View commit details
    Browse the repository at this point in the history
  4. --restore_to_timestamp requires --restore_from_backup ; same for __re…

    …store_to_pos
    
    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    c11af8a View commit details
    Browse the repository at this point in the history
  5. backup_pitr tests: reserve a third replica, only initialize and start…

    … it after backups have been taken, bootstrap it via --restore_from_backup --restore_to_timestamp, or --restore_from_backup --restore_to_pos. Validate that it restores into expected point in time with expected number of rows, and that it ends in DRAINED type
    
    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 12, 2023
    Configuration menu
    Copy the full SHA
    1ccd02b View commit details
    Browse the repository at this point in the history

Commits on Sep 13, 2023

  1. fixed vttablet flags test

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 13, 2023
    Configuration menu
    Copy the full SHA
    2b20ce7 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2023

  1. No need for InitTablet

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 19, 2023
    Configuration menu
    Copy the full SHA
    31b6725 View commit details
    Browse the repository at this point in the history

Commits on Sep 21, 2023

  1. fix '--restore_to_timestamp' comment

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 21, 2023
    Configuration menu
    Copy the full SHA
    029efbc View commit details
    Browse the repository at this point in the history

Commits on Sep 27, 2023

  1. Merge branch 'main' into provision-tablet-pitr

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    0aae5cd View commit details
    Browse the repository at this point in the history
  2. vtcombo flags docs

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    345a252 View commit details
    Browse the repository at this point in the history
  3. dashes, not underscores

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    f376b60 View commit details
    Browse the repository at this point in the history
  4. Merge branch 'main' into provision-tablet-pitr

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    b119cde View commit details
    Browse the repository at this point in the history
  5. fix flags endtoend

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 27, 2023
    Configuration menu
    Copy the full SHA
    c7d1882 View commit details
    Browse the repository at this point in the history

Commits on Sep 28, 2023

  1. empty commit to kick ci

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    4e32378 View commit details
    Browse the repository at this point in the history
  2. vtctl still uses underscores

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    b7cfe4d View commit details
    Browse the repository at this point in the history
  3. vtctldclient uses dashes

    Signed-off-by: Shlomi Noach <2607934+shlomi-noach@users.noreply.github.com>
    shlomi-noach committed Sep 28, 2023
    Configuration menu
    Copy the full SHA
    6b667ee View commit details
    Browse the repository at this point in the history