You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Hongchao Deng (JIRA)" <ji...@apache.org> on 2014/07/28 22:49:39 UTC

[jira] [Updated] (ZOOKEEPER-1997) disable standalone mode if there is dynamic file

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

Hongchao Deng updated ZOOKEEPER-1997:
-------------------------------------

    Summary: disable standalone mode if there is dynamic file  (was: Why is there a standalone mode)

> disable standalone mode if there is dynamic file
> ------------------------------------------------
>
>                 Key: ZOOKEEPER-1997
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1997
>             Project: ZooKeeper
>          Issue Type: Bug
>            Reporter: Hongchao Deng
>
> The current problem is that it goes to standalone mode if there is only one server in dynamic file.
> I understand that it's necessary to keep standalone mode for backward compatibility. But since dynamic file was introduced in 3.5 it shouldn't jump to standalone mode in this case.
> Something like this test [testStandaloneQuorum|https://github.com/apache/zookeeper/blob/fa6d21fa8a8acba812237538e4f7172faf969d37/src/java/test/org/apache/zookeeper/test/StandaloneTest.java#L64] was incorrectly successful before -- the client port was ignored and the server was responding through the jetty port.
> I was trying to require a client port in ZooKeeper-1992. While I am not sure if this is a good choice, it definitely help check out some assumptions made before.
> I will leave this thread for discussion and propose to disable standalone mode on booting up from dynamic file.



--
This message was sent by Atlassian JIRA
(v6.2#6252)