release-22.1: backupccl: make checkpoint interval configurable #83266
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Backport 1/1 commits from #83151.
/cc @cockroachdb/release
This PR makes the interval between checkpoints configurable and also
excludes the processing time of the checkpoint itself from that
interval.
The goal of this change is to potentially address issues we've seen in
large clusters that we currently believe can be attributed to the
backup process slowing down substantially once it takes a minute or
longer to marshall, compress, and write the progress checkpoint.
Release note (ops change): A new setting
bulkio.backup.checkpoint_interval
controls the minimum intervalbetween writes of progress checkpoints to external storage.
Release justification: Bug fix for bug that prevents backup up large
databases.