You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Alexander Shraer (JIRA)" <ji...@apache.org> on 2016/07/08 05:00:16 UTC
[jira] [Created] (ZOOKEEPER-2470) ServerConfig#parse(String[])
ignores tickTime
Alexander Shraer created ZOOKEEPER-2470:
-------------------------------------------
Summary: 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.5.1, 3.4.7
Reporter: Alexander Shraer
Assignee: Alexander Shraer
Priority: Trivial
Fix For: 3.4.9, 3.5.3
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)