Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
120032: backupccl: add pausepoint r=msbutler. a=stevendanna

If you want to experience a very interesting cluster. Use this pause point.

Epic: none
Release note: None

Co-authored-by: Steven Danna <danna@cockroachlabs.com>
  • Loading branch information
craig[bot] and stevendanna committed Mar 11, 2024
2 parents 41a474f + 2d3b6ad commit eb53b06
Showing 1 changed file with 4 additions and 0 deletions.
4 changes: 4 additions & 0 deletions pkg/ccl/backupccl/restore_online.go
Original file line number Diff line number Diff line change
Expand Up @@ -88,6 +88,10 @@ func sendAddRemoteSSTs(
return errors.Wrap(err, "failed to generate and send remote file spans")
}

if err := execCtx.ExecCfg().JobRegistry.CheckPausepoint("restore.after.link_phase"); err != nil {
return err
}

downloadSpans := dataToRestore.getSpans()

log.Infof(ctx, "creating job to track downloads in %d spans", len(downloadSpans))
Expand Down

0 comments on commit eb53b06

Please sign in to comment.