[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-12-12 Thread Rakesh R (JIRA)

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

Rakesh R updated ZOOKEEPER-2391:

Fix Version/s: (was: 3.4.8)
   (was: 3.5.0)

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Attachments: ZOOKEEPER-2391-2.patch, ZOOKEEPER-2391-3.4-2.patch, 
> ZOOKEEPER-2391-3.4-3.patch, ZOOKEEPER-2391-3.4.patch, ZOOKEEPER-2391-3.patch, 
> ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-04-24 Thread Kazuaki Banzai (JIRA)

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

Kazuaki Banzai updated ZOOKEEPER-2391:
--
Attachment: ZOOKEEPER-2391-3.4-3.patch

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Fix For: 3.4.8, 3.5.0
>
> Attachments: ZOOKEEPER-2391-2.patch, ZOOKEEPER-2391-3.4-2.patch, 
> ZOOKEEPER-2391-3.4-3.patch, ZOOKEEPER-2391-3.4.patch, ZOOKEEPER-2391-3.patch, 
> ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-04-24 Thread Kazuaki Banzai (JIRA)

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

Kazuaki Banzai updated ZOOKEEPER-2391:
--
Attachment: ZOOKEEPER-2391-3.patch

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Fix For: 3.4.8, 3.5.0
>
> Attachments: ZOOKEEPER-2391-2.patch, ZOOKEEPER-2391-3.4-2.patch, 
> ZOOKEEPER-2391-3.4.patch, ZOOKEEPER-2391-3.patch, ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-04-05 Thread Kazuaki Banzai (JIRA)

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

Kazuaki Banzai updated ZOOKEEPER-2391:
--
Attachment: ZOOKEEPER-2391-2.patch

modified version of the patch for 3.5 and trunk branch

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Attachments: ZOOKEEPER-2391-2.patch, ZOOKEEPER-2391-3.4-2.patch, 
> ZOOKEEPER-2391-3.4.patch, ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-04-05 Thread Kazuaki Banzai (JIRA)

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

Kazuaki Banzai updated ZOOKEEPER-2391:
--
Attachment: ZOOKEEPER-2391-3.4-2.patch

modified version of the patch for 3.4 branch

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Attachments: ZOOKEEPER-2391-3.4-2.patch, ZOOKEEPER-2391-3.4.patch, 
> ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-03-30 Thread Kazuaki Banzai (JIRA)

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

Kazuaki Banzai updated ZOOKEEPER-2391:
--
Attachment: ZOOKEEPER-2391-3.4.patch

a patch for 3.4 branch

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Attachments: ZOOKEEPER-2391-3.4.patch, ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-03-30 Thread Kazuaki Banzai (JIRA)

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

Kazuaki Banzai updated ZOOKEEPER-2391:
--
Component/s: (was: documentation)

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Attachments: ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-03-19 Thread Kazuaki Banzai (JIRA)

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

Kazuaki Banzai updated ZOOKEEPER-2391:
--
Attachment: ZOOKEEPER-2391.patch

There are two possible ways to respond to invalid parameters: Call using 
invalid parameters could be ignored, or the method could throw an exception. 
The second approach finds flawed code more proactively but may cause problems 
with existing faulty clients. The patch implements the second solution, because 
it would be better in the long term to adapt strict parameter checking.

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: documentation, server
>Reporter: Kazuaki Banzai
>Priority: Minor
> Attachments: ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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


[jira] [Updated] (ZOOKEEPER-2391) setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak way

2016-03-19 Thread Flavio Junqueira (JIRA)

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

Flavio Junqueira updated ZOOKEEPER-2391:

Assignee: Kazuaki Banzai

> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way
> ---
>
> Key: ZOOKEEPER-2391
> URL: https://issues.apache.org/jira/browse/ZOOKEEPER-2391
> Project: ZooKeeper
>  Issue Type: Bug
>  Components: documentation, server
>Reporter: Kazuaki Banzai
>Assignee: Kazuaki Banzai
>Priority: Minor
> Attachments: ZOOKEEPER-2391.patch
>
>
> setMin/MaxSessionTimeout of ZookeeperServer are implemented in quite a weak 
> way.
> * -1 restores the default, but this is not documented.
> * values < -1 are permitted but make no sense.
> * min > max is permitted but makes not sense.



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