You are viewing a plain text version of this content. The canonical link for it is here.
Posted to dev@zookeeper.apache.org by "Justin SB (JIRA)" <ji...@apache.org> on 2013/07/13 02:45:48 UTC

[jira] [Created] (ZOOKEEPER-1726) No way to dynamically go from 1 ZK server -> 2 ZK servers?

Justin SB created ZOOKEEPER-1726:
------------------------------------

             Summary: No way to dynamically go from 1 ZK server -> 2 ZK servers?
                 Key: ZOOKEEPER-1726
                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-1726
             Project: ZooKeeper
          Issue Type: Bug
    Affects Versions: 3.5.0
            Reporter: Justin SB


The dynamic reconfiguration feature is great.  But it doesn't seem to be possible to go from 1 server to 2 servers (1 server + 1 observer).  When there's only one server, ZK automatically starts in single server mode; when in single server mode trying to add a server causes a class cast exception because the server is a ZooKeeperServer, not a LeaderZooKeeperServer.

--
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