Hi there,

Suppose a zookeeper session timeout is configured to 10 seconds. If at time
t, a client sends a getData() request to the ensemble and succeeds, can I
assume the client's zookeeper session will be live for the next (10 -
delta) seconds according to the client's local clock? In other words, will
a client request extend the lifetime of the session by another session
timeout?

The delta will account for clock skew between client and server. In
practice, the clock skew is bounded and very small (<<10 seconds) in a 10
seconds interval. Absolute clock skew doesn't matter. Only the clock rate
skew matters.

Cheers
Peng

Reply via email to