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

ZOOKEEPER-4814: Re-introduce support for clients incompatible with the 3.5+ readOnly extension #2146

Merged
merged 3 commits into from
Aug 11, 2024

Conversation

ztzg
Copy link
Contributor

@ztzg ztzg commented Mar 7, 2024

The ProtocolManager class knows whether the client sent a readOnly flag as part of the ConnectRequest, and can use that information to, in turn, avoid the extra byte when serializing the ConnectResponse.

@ztzg ztzg requested review from tisonkun, eolivelli and symat March 7, 2024 16:59
@ztzg ztzg force-pushed the ZOOKEEPER-4814-clients-without-read-only branch from b40c6e7 to 1359063 Compare March 7, 2024 17:07
Copy link
Member

@tisonkun tisonkun left a comment

Choose a reason for hiding this comment

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

Thank you!

vincentbernat added a commit to akvorado/akvorado that referenced this pull request Apr 4, 2024
There is an incompatibility of ClickHouse with Zookeeper 3.9. See:

- apache/zookeeper#2146
- apache/zookeeper#1837
- ClickHouse/ClickHouse#53749
vincentbernat added a commit to akvorado/akvorado that referenced this pull request Apr 4, 2024
There is an incompatibility of ClickHouse with Zookeeper 3.9. See:

- apache/zookeeper#2146
- apache/zookeeper#1837
- ClickHouse/ClickHouse#53749
@kezhuw kezhuw merged commit 90f8d83 into apache:master Aug 11, 2024
12 of 13 checks passed
kezhuw pushed a commit that referenced this pull request Aug 11, 2024
…e 3.5+ `readOnly` extension

Reviewers: tisonkun, kezhuw
Author: ztzg
Closes #2146 from ztzg/ZOOKEEPER-4814-clients-without-read-only

(cherry picked from commit 90f8d83)
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