[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-258?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mahadev konar updated ZOOKEEPER-258:
------------------------------------

      Resolution: Fixed
    Hadoop Flags: [Reviewed]
          Status: Resolved  (was: Patch Available)

I just committed this. Thanks pat.

> docs incorrectly state max client timeout as 60 seconds (it's based on server 
> ticktime)
> ---------------------------------------------------------------------------------------
>
>                 Key: ZOOKEEPER-258
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-258
>             Project: Zookeeper
>          Issue Type: Bug
>          Components: documentation
>    Affects Versions: 3.0.0, 3.0.1
>            Reporter: Patrick Hunt
>            Assignee: Patrick Hunt
>            Priority: Minor
>             Fix For: 3.1.0
>
>         Attachments: ZOOKEEPER-258.patch
>
>
> The docs incorrectly state the max client timeout as 60 seconds.
> http://hadoop.apache.org/zookeeper/docs/r3.0.1/zookeeperProgrammers.html#ch_zkSessions
> the current server code has the following logic:
>         if (sessionTimeout < zk.tickTime * 2) {
>             sessionTimeout = zk.tickTime * 2;
>         }
>         if (sessionTimeout > zk.tickTime * 20) {
>             sessionTimeout = zk.tickTime * 20;
>         }
> So really the docs should say max is 20*tickTime

-- 
This message is automatically generated by JIRA.
-
You can reply to this email to add a comment to the issue online.

Reply via email to