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

backupccl: enable restore_span.target_size #89333

Merged
merged 1 commit into from Oct 4, 2022

Conversation

adityamaru
Copy link
Contributor

This setting was previously disabled because of timeouts being observed when restoring our TPCCInc fixtures. The cause of those timeouts has been identified as
#88329 making it safe to re-enable merging of spans during restore. This settings prevents restore from over-splitting and leaving the cluster with a merge hangover post restore.

Informs: #86470

Release note (sql change): Sets backup.restore_span.target_size to default to 384 MiB so that restore merges upto that size of spans when reading from the backup before actually ingesting data. This should reduce the number of ranges created during restore and thereby reduce the merging of ranges that needs to occur post restore.

This setting was previously disabled because of timeouts being
observed when restoring our TPCCInc fixtures. The cause of those
timeouts has been identified as
cockroachdb#88329 making it safe
to re-enable merging of spans during restore. This settings prevents
restore from over-splitting and leaving the cluster with a merge hangover
post restore.

Informs: cockroachdb#86470

Release note (sql change): Sets `backup.restore_span.target_size`
to default to 384 MiB so that restore merges upto that size of spans
when reading from the backup before actually ingesting data. This should
reduce the number of ranges created during restore and thereby reduce
the merging of ranges that needs to occur post restore.
@adityamaru adityamaru requested a review from dt October 4, 2022 20:55
@adityamaru adityamaru requested a review from a team as a code owner October 4, 2022 20:55
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@adityamaru adityamaru added the backport-22.2.x Flags PRs that need to be backported to 22.2. label Oct 4, 2022
@adityamaru
Copy link
Contributor Author

TFTR!

bors r=dt,stevendanna

@craig
Copy link
Contributor

craig bot commented Oct 4, 2022

Build succeeded:

@dt
Copy link
Member

dt commented Oct 25, 2022

blathers backport 22.2.0

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport-22.2.x Flags PRs that need to be backported to 22.2.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

4 participants