You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@mesos.apache.org by "Yan Xu (JIRA)" <ji...@apache.org> on 2013/12/05 21:43:35 UTC
[jira] [Created] (MESOS-868) Group should set local session timeout
to use half of negotiated ZK timeout
Yan Xu created MESOS-868:
----------------------------
Summary: Group should set local session timeout to use half of negotiated ZK timeout
Key: MESOS-868
URL: https://issues.apache.org/jira/browse/MESOS-868
Project: Mesos
Issue Type: Bug
Components: general
Reporter: Yan Xu
Currently we use a constant of 10 seconds as both the zookeeper session timeout and the local timeout. However, the timeout proposed by the client maybe rejected by ZK if it violates the server's (max)minSessionTimeout.
We should read the negotiated timeout and set local timer to use a value smaller than that. e.g. half of it.
This is to ensure that if the leading master is partitioned, it terminates asap when it's session is destined to expire.
--
This message was sent by Atlassian JIRA
(v6.1#6144)