You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@zookeeper.apache.org by "ztzg (via GitHub)" <gi...@apache.org> on 2024/03/07 16:04:28 UTC
Re: [PR] ZOOKEEPER-4492: Merge readOnly field into ConnectRequest and Response [zookeeper]
ztzg commented on PR #1837:
URL: https://github.com/apache/zookeeper/pull/1837#issuecomment-1983844773
> > why the new server will be compatible with old clients
>
> [...]
>
> An old client receives connect response with readonly field from the new server, which is consumed from the wire by the leading length field, and the client doesn't parse it actually, which does no harm.
While this may apply to "old" Java clients, I'm afraid it does not hold for all implementations!
ZooKeeper's own C client library, notably, currently cannot connect to 3.9 servers.
I have a patch in the works.
See [ZOOKEEPER-4814](https://issues.apache.org/jira/browse/ZOOKEEPER-4814).
--
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
To unsubscribe, e-mail: notifications-unsubscribe@zookeeper.apache.org
For queries about this service, please contact Infrastructure at:
users@infra.apache.org