Skip to content

Conversation

@kev-cao
Copy link
Contributor

@kev-cao kev-cao commented Jan 2, 2026

This patch removes support for the incremental_location syntax from our read paths.

Resolves: #159172

Release note (backwards-incompatible change): The incremental_location option has been removed from SHOW BACKUP and RESTORE.

@cockroach-teamcity
Copy link
Member

This change is Reviewable

@kev-cao kev-cao force-pushed the restore/remove-inc-location branch 2 times, most recently from 91b23a2 to 8c9146a Compare January 6, 2026 16:41
This patch removes support for the `incremental_location` syntax from
our read paths.

Resolves: cockroachdb#159172

Release note (backwards-incompatible change): The `incremental_location`
option has been removed from `SHOW BACKUP` and `RESTORE`.
This commit removes all logic relating to custom incremental locations
from our RESTORE and SHOW paths.

Resolves: cockroachdb#159172

Release note: None
@kev-cao kev-cao force-pushed the restore/remove-inc-location branch from 8c9146a to 5525d6e Compare January 6, 2026 18:01
@kev-cao kev-cao marked this pull request as ready for review January 6, 2026 18:04
@kev-cao kev-cao requested review from a team as code owners January 6, 2026 18:04
@kev-cao kev-cao requested review from a team, dt, mgartner and mw5h and removed request for a team, mgartner and mw5h January 6, 2026 18:04
return nil, err
}

// Check we can read from this location, though we don't need the backups here.
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Now that all incrementals are stored in the same location as the rest of the backups, this read-access check shouldn't be necessary.

Copy link
Collaborator

@msbutler msbutler left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nice cleanup!

@kev-cao
Copy link
Contributor Author

kev-cao commented Jan 7, 2026

TFTR!

bors r=msbutler

craig bot pushed a commit that referenced this pull request Jan 7, 2026
160408: rttanalysis: deflake pause/cancel job benchmark r=jeffswenson a=msbutler

This patch changes the benchmark to pause/cancel jobs which are guaranteed to be pausable/cancellable.

While here, I added rows to the job_progress and job_status tables.

Fixes #157116

Release note: none

160416: restore: remove incremental_location from SQL read syntaxes r=msbutler a=kev-cao

This patch removes support for the `incremental_location` syntax from our read paths.

Resolves: #159172

Release note (backwards-incompatible change): The `incremental_location` option has been removed from `SHOW BACKUP` and `RESTORE`.

160589: sql: deflake TestAbortedTxnLocks r=rafiss a=rafiss

5a1c5a7 enabled multitenant testing for this test. One of the subtests is flaky on secondary tenants, so we skip it in that mode.

fixes #160585
Release note: None

Co-authored-by: Michael Butler <[email protected]>
Co-authored-by: Kevin Cao <[email protected]>
Co-authored-by: Rafi Shamim <[email protected]>
@craig
Copy link
Contributor

craig bot commented Jan 7, 2026

This PR was included in a batch that successfully built, but then failed to merge into master (it was a non-fast-forward update). It will be automatically retried.

@craig
Copy link
Contributor

craig bot commented Jan 7, 2026

@craig craig bot merged commit 73cf08e into cockroachdb:master Jan 7, 2026
30 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

restore: remove custom incremental logic

3 participants