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

crl-release-24.3: backport a few fixes #4135

Merged
merged 3 commits into from
Nov 5, 2024

Conversation

jbowens
Copy link
Collaborator

@jbowens jbowens commented Nov 4, 2024

24.3 backport of #4133, #4132 and #4130.

The macOS-12 image is deprecated.

See actions/runner-images#10721
Add metrics for the count and bytes written by cancelled compactions.

Close cockroachdb#4097.
This commit adapts Checkpoint to omit the [WAL Failover] section of the OPTIONS
file from the checkpoint's OPTIONS file. The WAL failover configuration is
specific to the original database. We want our checkpoints to be fully
encapsulated and complete, so we copy WAL files from both the primary WAL
directory and the failover secondary. This means a database opening the
checkpoint does not need the secondary directory to be provided as a
WALRecoveryDir.

With this commit, Checkpoint parses the old OPTIONS file and copies its
contents verbatim to a new file in the checkpointed directory. If the old
OPTIONS file had a WAL Failover configuration, its entire section is commented
out within the checkpoint.
@jbowens jbowens requested a review from a team as a code owner November 4, 2024 21:41
@cockroach-teamcity
Copy link
Member

This change is Reviewable

@jbowens jbowens merged commit 8280259 into cockroachdb:crl-release-24.3 Nov 5, 2024
22 checks passed
@jbowens jbowens deleted the 24.3-bp branch November 5, 2024 18:18
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants