Author: phunt
Date: Wed Oct 20 16:25:04 2010
New Revision: 1025629

URL: http://svn.apache.org/viewvc?rev=1025629&view=rev
Log:
ZOOKEEPER-804. c unit tests failing due to "assertion cptr failed" (second 
patch)

Modified:
    hadoop/zookeeper/trunk/CHANGES.txt
    hadoop/zookeeper/trunk/src/c/src/zookeeper.c

Modified: hadoop/zookeeper/trunk/CHANGES.txt
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/CHANGES.txt?rev=1025629&r1=1025628&r2=1025629&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/CHANGES.txt (original)
+++ hadoop/zookeeper/trunk/CHANGES.txt Wed Oct 20 16:25:04 2010
@@ -125,6 +125,9 @@ BUGFIXES: 
   ZOOKEEPER-893. ZooKeeper high cpu usage when invalid requests
   (Thijs Terlouw via phunt)
 
+  ZOOKEEPER-804. c unit tests failing due to "assertion cptr failed"
+  (second try - Jared Cantwell via phunt)
+
 IMPROVEMENTS:
   ZOOKEEPER-724. Improve junit test integration - log harness information 
   (phunt via mahadev)

Modified: hadoop/zookeeper/trunk/src/c/src/zookeeper.c
URL: 
http://svn.apache.org/viewvc/hadoop/zookeeper/trunk/src/c/src/zookeeper.c?rev=1025629&r1=1025628&r2=1025629&view=diff
==============================================================================
--- hadoop/zookeeper/trunk/src/c/src/zookeeper.c (original)
+++ hadoop/zookeeper/trunk/src/c/src/zookeeper.c Wed Oct 20 16:25:04 2010
@@ -1956,7 +1956,7 @@ int zookeeper_process(zhandle_t *zh, int
                     destroy_completion_entry(cptr);
                     cptr = NULL;
                 }
-                return ZINVALIDSTATE;
+                return api_epilog(zh,ZINVALIDSTATE);
             }
             assert(cptr);
             /* The requests are going to come back in order */


Reply via email to