You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@curator.apache.org by "kezhuw (via GitHub)" <gi...@apache.org> on 2025/07/03 15:18:59 UTC

[PR] Fix flaky TestReadOnly.testConnectionStateNewClient in ZooKeeper 3.9.3 [curator]

kezhuw opened a new pull request, #1272:
URL: https://github.com/apache/curator/pull/1272

   ZOOKEEPER-4508 reports `SessionExpired` after exhausting session timeout
   in session establishment instead of endless retries. It is easy to get
   in this now with small session timeout.
   
   Besides above, `sessionTimeoutMs` should bigger than `connectionTimeoutMs`,
   while default `Timing::session()` and `Timing::connection()` are `2s` and
   `10s` respectively now.
   
   ```
   // from CuratorZookeeperClient
   
   if (sessionTimeoutMs < connectionTimeoutMs) {
       log.warn(
               "session timeout [{}] is less than connection timeout [{}]", sessionTimeoutMs, connectionTimeoutMs);
   }
   ```
   


-- 
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: commits-unsubscribe@curator.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix flaky TestReadOnly.testConnectionStateNewClient in ZooKeeper 3.9.3 [curator]

Posted by "kezhuw (via GitHub)" <gi...@apache.org>.
kezhuw merged PR #1272:
URL: https://github.com/apache/curator/pull/1272


-- 
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: commits-unsubscribe@curator.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


Re: [PR] Fix flaky TestReadOnly.testConnectionStateNewClient in ZooKeeper 3.9.3 [curator]

Posted by "kezhuw (via GitHub)" <gi...@apache.org>.
kezhuw commented on PR #1272:
URL: https://github.com/apache/curator/pull/1272#issuecomment-3032684806

   See also https://github.com/apache/curator/pull/1252#pullrequestreview-2934052557.


-- 
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: commits-unsubscribe@curator.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org