zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Edward Ribeiro (JIRA)" <j...@apache.org>
Subject [jira] [Commented] (ZOOKEEPER-2470) ServerConfig#parse(String[]) ignores tickTime
Date Wed, 14 Dec 2016 19:35:58 GMT

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

Edward Ribeiro commented on ZOOKEEPER-2470:
-------------------------------------------

I had an email chat with @shralex and he said I could get this issue to push forward. Even
though the issue is *quite trivial*, I've got in touch with him because it would be really
important to have this bug fixed for 3.4, 3.5 and master branches asap.


> ServerConfig#parse(String[])  ignores tickTime
> ----------------------------------------------
>
>                 Key: ZOOKEEPER-2470
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2470
>             Project: ZooKeeper
>          Issue Type: Bug
>          Components: server
>    Affects Versions: 3.4.7, 3.5.1
>            Reporter: Alexander Shraer
>            Assignee: Edward Ribeiro
>            Priority: Trivial
>             Fix For: 3.4.10, 3.5.3
>
>         Attachments: ZOOKEEPER-2470.patch
>
>
> Based on bug report from ykgarfield:
> ServerConfig#parse(String[]) method has the following code:
>     public void parse(String[] args) {
>         ...
>         if (args.length == 3) {
>                 tickTime = Integer.parseInt(args[2]);
>         }
>         if (args.length == 4) {
>                 maxClientCnxns = Integer.parseInt(args[3]);
>         }
>     }
>     ```
> So if args.length == 4 tickTime isn't parsed.



--
This message was sent by Atlassian JIRA
(v6.3.4#6332)

Mime
View raw message