zookeeper-user mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Karan Mehta <k.me...@salesforce.com.INVALID>
Subject clientCnxnSocket#updateLastSendAndHeard() method usage
Date Thu, 12 Dec 2019 04:14:58 GMT
Hello,

On this line in ClientCnxn.java
<https://github.com/apache/zookeeper/blob/master/zookeeper-server/src/main/java/org/apache/zookeeper/ClientCnxn.java#L1183>,
we are calling clientCnxnSocket.updateLastSendAndHeard() method but we
didn't call clientCnxnSocket.updateNow() method before that. Is there a
possiblity that can result in incorrect calculation
of clientCnxnSocket.getIdleRecv(), causing it to
throw SessionTimeoutException?

-- 
Karan Mehta

<http://smart.salesforce.com/sig/k.mehta//us_mb/default/link.html>

Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message