zookeeper
zookeeper copied to clipboard
ZOOKEEPER-4814: Re-introduce support for clients incompatible with the 3.5+ `readOnly` extension
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
.