[ 
https://issues.apache.org/jira/browse/BOOKKEEPER-466?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13501115#comment-13501115
 ] 

Ivan Kelly commented on BOOKKEEPER-466:
---------------------------------------

https://github.com/apache/zookeeper/blob/trunk/src/java/main/org/apache/zookeeper/server/ZooKeeperServer.java#L194

It's tickTime that we're setting here, not minSessionTime. What was happening 
was that the port number was being set as the tickTime, which then caused the 
minSessionTime to be too big.
                
> ZooKeeper test utility sets the port number as the tickTime
> -----------------------------------------------------------
>
>                 Key: BOOKKEEPER-466
>                 URL: https://issues.apache.org/jira/browse/BOOKKEEPER-466
>             Project: Bookkeeper
>          Issue Type: Bug
>            Reporter: Ivan Kelly
>            Assignee: Ivan Kelly
>             Fix For: 4.2.0
>
>         Attachments: 0001-Set-tickTime-correctly-for-ZKTester.patch
>
>
> This causes issues if the zookeeper port, is very high, as the 
> minSessionTimeout is 2*tickTime by default. 

--
This message is automatically generated by JIRA.
If you think it was sent incorrectly, please contact your JIRA administrators
For more information on JIRA, see: http://www.atlassian.com/software/jira

Reply via email to