Review Board 1.7.22


ZOOKEEPER-1691

Review Request #12983 - Created July 26, 2013 and updated

Helen Hastings
Reviewers
zookeeper
shralex
zookeeper
Added standaloneEnabled flag to QuorumPeerConfig to give the option to disable standalone mode for a single server.

 

Diff revision 3

This is not the most recent revision of the diff. The latest diff is revision 6. See what's changed.

1 2 3 4 5 6
1 2 3 4 5 6

  1. http://svn.apache.org/repos/asf/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml: Loading...
  2. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/ReconfigCommand.java: Loading...
  3. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/PrepRequestProcessor.java: Loading...
  4. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java: Loading...
  5. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FollowerZooKeeperServer.java: Loading...
  6. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/LeaderZooKeeperServer.java: Loading...
  7. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java: Loading...
  8. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java: Loading...
  9. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/QuorumPeerTestBase.java: Loading...
  10. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/StandaloneDisabledTest.java: Loading...
  11. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ReconfigTest.java: Loading...
  12. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/StandaloneTest.java: Loading...
http://svn.apache.org/repos/asf/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml
Revision 1515597 New Change
[20] 982 lines
[+20]
983
              <note>
983
              <note>
984
                <para>Default value is 5 seconds.</para>
984
                <para>Default value is 5 seconds.</para>
985
              </note>
985
              </note>
986
            </listitem>
986
            </listitem>
987
          </varlistentry>
987
          </varlistentry>

    
   
988

   

    
   
989
          <varlistentry>

    
   
990
            <term>standaloneEnabled</term>

    
   
991

   

    
   
992
            <listitem>

    
   
993
              <para>(No Java system property)</para>

    
   
994

   

    
   
995
              <para><emphasis role="bold">New in 3.5.0:</emphasis>

    
   
996
              When set to false, a single server can be started in replicated

    
   
997
              mode, a lone participant can run with observers, and a cluster

    
   
998
              can reconfigure down to one node, and up from one node. The

    
   
999
              default is true for backwards compatibility. It can be set

    
   
1000
              using QuorumPeerConfig's setStandaloneEnabled method or by

    
   
1001
              adding "standaloneEnabled=false" or "standaloneEnabled=true"

    
   
1002
              to a server's config file.

    
   
1003
              </para>

    
   
1004
            </listitem>

    
   
1005
          </varlistentry>
988
        </variablelist>
1006
        </variablelist>
989
        <para></para>
1007
        <para></para>
990
      </section>
1008
      </section>
991

    
   
1009

   
992
      <section id="sc_authOptions">
1010
      <section id="sc_authOptions">
[+20] [20] 632 lines
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/ReconfigCommand.java
Revision 1515597 New Change
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/PrepRequestProcessor.java
Revision 1515597 New Change
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java
Revision 1515597 New Change
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FollowerZooKeeperServer.java
Revision 1515597 New Change
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/LeaderZooKeeperServer.java
Revision 1515597 New Change
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java
Revision 1515597 New Change
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java
Revision 1515597 New Change
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/QuorumPeerTestBase.java
Revision 1515597 New Change
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/StandaloneDisabledTest.java
New File
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ReconfigTest.java
Revision 1515597 New Change
 
http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/StandaloneTest.java
Revision 1515597 New Change
 
  1. http://svn.apache.org/repos/asf/zookeeper/trunk/src/docs/src/documentation/content/xdocs/zookeeperAdmin.xml: Loading...
  2. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/cli/ReconfigCommand.java: Loading...
  3. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/PrepRequestProcessor.java: Loading...
  4. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FastLeaderElection.java: Loading...
  5. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/FollowerZooKeeperServer.java: Loading...
  6. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/LeaderZooKeeperServer.java: Loading...
  7. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeer.java: Loading...
  8. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/main/org/apache/zookeeper/server/quorum/QuorumPeerConfig.java: Loading...
  9. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/QuorumPeerTestBase.java: Loading...
  10. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/server/quorum/StandaloneDisabledTest.java: Loading...
  11. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/ReconfigTest.java: Loading...
  12. http://svn.apache.org/repos/asf/zookeeper/trunk/src/java/test/org/apache/zookeeper/test/StandaloneTest.java: Loading...