Skip to content

Retry failed procedure rollback without losing state - #18822

Merged
jt2594838 merged 2 commits into
apache:masterfrom
Caideyipi:procedure-rollback-retry
Oct 12, 2026
Merged

jt2594838 merged 2 commits into
apache:masterfrom
Caideyipi:procedure-rollback-retry

Conversation

@Caideyipi

Copy link
Copy Markdown
Collaborator

When rollback fails after a procedure has persisted its state, the executor currently discards the rollback state and completes the procedure, so recovery cannot retry compensation. Add an opt-in rollback retry timeout, retain the failed state across serialization, and preserve the original execution failure. Also report pre-submission procedure conflicts immediately when the procedure still has NO_PROC_ID. Tests cover retry after transient rollback failures, serialization, and the pre-submission status.

@jt2594838
jt2594838 merged commit 2751ee1 into apache:master Oct 12, 2026
39 checks passed
@jt2594838
jt2594838 deleted the procedure-rollback-retry branch October 12, 2026 04:21
jt2594838 pushed a commit that referenced this pull request Oct 12, 2026
* Retry failed procedure rollback without losing state

* Fix missing TSStatusCode import in procedure manager test

(cherry picked from commit 2751ee1)
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.

2 participants