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

parser, backupccl: support running RESTORE in explicit txn #52779

Merged
merged 2 commits into from
Aug 13, 2020

Commits on Aug 13, 2020

  1. parser: add DETACHED option to run RESTORE in explicit txn

    Add DETACHED option to the list of allowed RESTORE options.  This option
    requests the restore to run in detached mode: that is, the restore
    statement should not block, and instead simply return the job id.
    
    Release note: None
    adityamaru committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    62c8962 View commit details
    Browse the repository at this point in the history
  2. backupccl: support running RESTORE in explicit txn

    Allow execution of RESTORE statement under explicit transaction,
    provided the "DETACHED" option is specified:
    
    RESTORE FROM <location_uri> ... WITH DETACHED When restore runs in
    detached mode, we do not wait for the job completion. Instead, we return
    the job id to the caller, and the job executes asynchronously.
    
    Release note (enterprise change): RESTORE can now run in "detached"
    mode.  That is, we do not wait for the RESTORE job to finish. Instead,
    the job ID is returned immediately, and the job itself runs in
    background.
    adityamaru committed Aug 13, 2020
    Configuration menu
    Copy the full SHA
    8361bd8 View commit details
    Browse the repository at this point in the history