Re: [PROPOSAL] Timeout to expire session in client side to avoid endless connection loss

2023-09-01 Thread Kezhu Wang
Hi tison, Thank you for your information. > what will happen if the client decides session expired but the server hold a > valid session and reconnect This will not happen inside a single `ZooKeeper` client. Once a client concludes a session as expired it will not try to establish connection

Re: [PROPOSAL] Timeout to expire session in client side to avoid endless connection loss

2023-09-01 Thread tison
IIUC the major issue here is what will happen if the client decides session expired but the server hold a valid session and reconnect. 4/3 time may best effort do the expiration after the server expires the session, but we need to prove a happens-before relation or think of the issues described

[jira] [Created] (ZOOKEEPER-4740) I want to use kerberos for Zookeeper, but my authentication has been unsuccessful

2023-09-01 Thread LiJie2023 (Jira)
LiJie2023 created ZOOKEEPER-4740: Summary: I want to use kerberos for Zookeeper, but my authentication has been unsuccessful Key: ZOOKEEPER-4740 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-4740

[PROPOSAL] Timeout to expire session in client side to avoid endless connection loss

2023-09-01 Thread Kezhu Wang
Hi all, ZooKeeper session will expire approximately after negotiated session timeout. Currently, client will learn this after successful contact to ZooKeeper cluster. This exposes an endless client side connection loss when client can't reach ZooKeeper cluster due to either incomplete connection