-
Notifications
You must be signed in to change notification settings - Fork 3.8k
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
backupccl: make checkpoint interval configurable #83151
backupccl: make checkpoint interval configurable #83151
Conversation
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is splendid! Thanks!
What are the backport plans for this? Maybe we want to backport the change to where lastCheckpoint is determined, but not necessarily the cluster setting?
@benbardin I think we need to backport the setting as well since we plan on shipping the setting to a customer and we want them to be able to upgrade to a real release once it is available. |
99d286a
to
d235fe1
Compare
defer leaktest.AfterTest(t)() | ||
defer log.Scope(t).Close(t) | ||
|
||
skip.WithIssue(t, 33357) |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This test has been skipped since 2019 and this issue has been closed.
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 interval between writes of progress checkpoints to external storage.
d235fe1
to
76f5a09
Compare
TFTR! bors r=adityamaru,benbardin |
Build succeeded: |
Encountered an error creating backports. Some common things that can go wrong:
You might need to create your backport manually using the backport tool. error creating merge commit from 76f5a09 to blathers/backport-release-22.1-83151: POST https://api.github.com/repos/cockroachdb/cockroach/merges: 409 Merge conflict [] you may need to manually resolve merge conflicts with the backport tool. Backport to branch 22.1.x failed. See errors above. 🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is otan. |
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.