[ 
https://issues.apache.org/jira/browse/ZOOKEEPER-107?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=13600124#comment-13600124
 ] 

Camille Fournier commented on ZOOKEEPER-107:
--------------------------------------------

Some updates on the cpp failures:

When I run the tests as written on my work machine, I get them to fail with 
these errors:

  [exec] 
/home/cfournier/zookeeper/zookeeper-trunkclean/src/c/tests/TestReconfigServer.cc:287:
 Assertion: equality assertion failed [Expected: 4000, Actual  : 0]
     [exec] 
/home/cfournier/zookeeper/zookeeper-trunkclean/src/c/tests/TestReconfigServer.cc:161:
 Assertion: equality assertion failed [Expected: 100000002, Actual  : 100000003]
     [exec] 
/home/cfournier/zookeeper/zookeeper-trunkclean/src/c/tests/TestOperations.cc:472:
 Assertion: equality assertion failed [Expected: 0, Actual  : -9, ZOK != rc]


If I reorder the TestReconfigServer tests to run in the order:
  CPPUNIT_TEST(testRemoveConnectedFollower);
    CPPUNIT_TEST(testRemoveFollower);
    CPPUNIT_TEST(testNonIncremental);

They pass.

This leads me to believe that these tests are not fully cleaning up after 
themselves and causing problems, but I'm at the limit of my C++ code skimming 
skills at this point so I am leaving this to Michi to debug more thoroughly. 
                
> Allow dynamic changes to server cluster membership
> --------------------------------------------------
>
>                 Key: ZOOKEEPER-107
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-107
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: Patrick Hunt
>            Assignee: Alexander Shraer
>             Fix For: 3.5.0
>
>         Attachments: SimpleAddition.rtf, zkreconfig-usenixatc-final.pdf, 
> ZOOKEEPER-107-14-Jan.patch, ZOOKEEPER-107-14-Oct.patch, 
> ZOOKEEPER-107-15-Oct.patch, ZOOKEEPER-107-15-Oct-ver1.patch, 
> ZOOKEEPER-107-15-Oct-ver2.patch, ZOOKEEPER-107-15-Oct-ver3.patch, 
> ZOOKEEPER-107-16-Jan.patch, ZOOKEEPER-107-17-Jan.patch, 
> ZOOKEEPER-107-18-Jan.patch, ZOOKEEPER-107-18-Jan-ver2.patch, 
> ZOOKEEPER-107-1-Mar.patch, ZOOKEEPER-107-20-Jan.patch, 
> ZOOKEEPER-107-20-July.patch, ZOOKEEPER-107-21-July.patch, 
> ZOOKEEPER-107-22-Apr.patch, ZOOKEEPER-107-23-SEP.patch, 
> ZOOKEEPER-107-24-Jan.patch, ZOOKEEPER-107-28-Feb.patch, 
> ZOOKEEPER-107-28-Feb.patch, ZOOKEEPER-107-28-NOV-ver2.patch, 
> ZOOKEEPER-107-29-Feb.patch, ZOOKEEPER-107-2-Mar.patch, 
> ZOOKEEPER-107-3-Oct.patch, ZOOKEEPER-107-4-Feb.patch, 
> ZOOKEEPER-107-4-Feb-ver1.patch, ZOOKEEPER-107-4-Feb-ver2.patch, 
> ZOOKEEPER-107-4-Feb-ver2.patch, ZOOKEEPER-107-5-Mar.patch, 
> ZOOKEEPER-107-5-Mar-ver2.patch, ZOOKEEPER-107-6-NOV-2.patch, 
> ZOOKEEPER-107-7-NOV.patch, ZOOKEEPER-107-7-NOV-ver1.patch, 
> ZOOKEEPER-107-7-NOV-ver2.patch, ZOOKEEPER-107-Aug-20.patch, 
> ZOOKEEPER-107-Aug-20-ver1.patch, ZOOKEEPER-107-Aug-25.patch, 
> ZOOKEEPER-107.patch, ZOOKEEPER-107.patch, zookeeper-3.4.0.jar, 
> zookeeper-dev-fatjar.jar, zookeeper-reconfig-sep11.patch, 
> zookeeper-reconfig-sep12.patch, zoo_replicated1.cfg, zoo_replicated1.members
>
>
> Currently cluster membership is statically defined, adding/removing hosts 
> to/from the server cluster dynamically needs to be supported.

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

Reply via email to