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

Backport to branch-3.8: ZOOKEEPER-2623: Forbid OpCode.check outside OpCode.multi #2179

Conversation

kezhuw
Copy link
Member

@kezhuw kezhuw commented Aug 12, 2024

Individual `OpCode.check` will get `UnimplementedException`.

This is a squashed backport of several commits from master:
1. b31f776 (apache#1988)
2. dc99bd7 (apache#2067)
3. 66f9cc3 (apache#2104)
@kezhuw
Copy link
Member Author

kezhuw commented Aug 12, 2024

I plan to backport ZOOKEEPER-2623 to branch-3.8 as the fix is quite simple and the bug could cause server crash(as the jira reported) and unrecognized database txn(as the test confirmed). #2105 backports it to branch-3.9.

cc @tisonkun @eolivelli @anmolnar

@kezhuw kezhuw merged commit 3842bd3 into apache:branch-3.8 Aug 13, 2024
5 checks passed
@anmolnar
Copy link
Contributor

@kezhuw Looks like the jira ticket is out-of-date: it mentions 3.10.0 as fix version, but this PR backported it to 3.8. Please fix.
Additionally the patch should also be present to branch-3.9. Is that the case?

@kezhuw kezhuw deleted the ZOOKEEPER-2623-forbid-opcode-check-outside-multi-backport-3.8 branch October 14, 2024 02:37
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