[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-4492?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17954900#comment-17954900
 ] 

Nihal Jain commented on ZOOKEEPER-4492:
---------------------------------------

I think this jira causes old clients to break, we added a new field in proto 
and its not optional?


{code:java}
2025-05-29T09:08:51,935 WARN  [main-SendThread(localhost:61181)] 
zookeeper.ClientCnxn: Session 0x0 for server localhost/127.0.0.1:61181, Closing 
socket connection. Attempting reconnect except it is a SessionExpiredException.
java.lang.NoSuchMethodError: 'void 
org.apache.zookeeper.proto.ConnectRequest.<init>(int, long, int, long, byte[])'
        at 
org.apache.zookeeper.ClientCnxn$SendThread.primeConnection(ClientCnxn.java:1019)
 ~[zookeeper-3.8.4
        at 
org.apache.zookeeper.ClientCnxnSocketNIO.doTransport(ClientCnxnSocketNIO.java:347)
 ~[zookeeper-3.8.4]
        at org.apache.zookeeper.ClientCnxn$SendThread.run(ClientCnxn.java:1289) 
~[zookeeper-3.8.4.jar:3.8.4]
{code}


> Merge readOnly field into ConnectRequest and Response
> -----------------------------------------------------
>
>                 Key: ZOOKEEPER-4492
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4492
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: java client, jute, server
>            Reporter: Zili Chen
>            Assignee: Zili Chen
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.9.0
>
>          Time Spent: 1h 10m
>  Remaining Estimate: 0h
>
> Mailing list thread: 
> https://lists.apache.org/thread/lm5hx4qb5o9l88lw5lbk36g2ft6v3nbt



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to