ZOOKEEPER-4819 Fix can't seek for writable tls server if connected to readonly server
ClientCnxn::pingRwServer uses raw socket to issue "isro" 4lw command. This results in unsuccessful handshake to tls server. Use SSLSocket when zookeeper.client.secure is set to true.
associated jira issue ZOOKEEPER-4819
Great! I think we need tests.
Great! I think we need tests.
Hi @kezhuw, I added a test case based on the ReadOnlyModeTest. Please take a look.
@kezhuw @eolivelli Thank you for your reply. I have changed my code based on the suggestions. Please take a look.
Looks good from my side.
@eolivelli Would you want take another look ?
@luoxiner Thank you for your contribution! Merged.