Skip to content

crosscluster/logical: only return jobID if planner txn succeeded#135994

Merged
craig[bot] merged 1 commit intocockroachdb:masterfrom
msbutler:butler-repro-missing-prog
Nov 22, 2024
Merged

crosscluster/logical: only return jobID if planner txn succeeded#135994
craig[bot] merged 1 commit intocockroachdb:masterfrom
msbutler:butler-repro-missing-prog

Conversation

@msbutler
Copy link
Copy Markdown
Collaborator

PR #134997 introduced a bug where CREATE LOGICAL REPLICATION could return early with a bogus job id if the txn which writes the job record retried. This patch prevents this.

Note: I plan to open a follow up PR that moves the ldr planning txn into its own helper func.

Fixes #135176
Fixes #135490

Release note: none

@msbutler msbutler added T-disaster-recovery branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 backport-24.3.x Flags PRs that need to be backported to 24.3 labels Nov 22, 2024
@msbutler msbutler requested review from dt and jeffswenson November 22, 2024 15:24
@msbutler msbutler self-assigned this Nov 22, 2024
@msbutler msbutler requested a review from a team as a code owner November 22, 2024 15:24
@msbutler msbutler removed the branch-release-24.3 Used to mark GA and release blockers, technical advisories, and bugs for 24.3 label Nov 22, 2024
@cockroach-teamcity
Copy link
Copy Markdown
Member

This change is Reviewable

PR cockroachdb#134997 introduced a bug where CREATE LOGICAL REPLICATION could return early
with a bogus job id if the txn which writes the job record retried. This patch
prevents this.

Note: I plan to open a follow up PR that moves the ldr planning txn into its
own helper func.

Fixes cockroachdb#135176
Fixes cockroachdb#135490

Release note: none
@msbutler msbutler force-pushed the butler-repro-missing-prog branch from bd19c3c to 38db713 Compare November 22, 2024 17:11
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Nov 22, 2024

It looks like your PR touches production code but doesn't add or edit any test code. Did you consider adding tests to your PR?

🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

@msbutler
Copy link
Copy Markdown
Collaborator Author

TFTR!

bors r=kev-cao

@craig
Copy link
Copy Markdown
Contributor

craig bot commented Nov 22, 2024

@craig craig bot merged commit cc71884 into cockroachdb:master Nov 22, 2024
@blathers-crl
Copy link
Copy Markdown

blathers-crl bot commented Nov 22, 2024

Based on the specified backports for this PR, I applied new labels to the following linked issue(s). Please adjust the labels as needed to match the branches actually affected by the issue(s), including adding any known older branches.


Issue #135490: branch-release-24.3.


Issue #135176: branch-release-24.3.


🦉 Hoot! I am a Blathers, a bot for CockroachDB. My owner is dev-inf.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

backport-24.3.x Flags PRs that need to be backported to 24.3 T-disaster-recovery

Projects

None yet

Development

Successfully merging this pull request may close these issues.

ccl/crosscluster/logical: TestMultipleSourcesIntoSingleDest failed ccl/crosscluster/logical: TestFourWayReplication failed

4 participants