zookeeper-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [zookeeper] xoiss commented on issue #1000: ZOOKEEPER-2894: Memory and completions leak on zookeeper_close
Date Sun, 23 Jun 2019 20:00:01 GMT
xoiss commented on issue #1000: ZOOKEEPER-2894: Memory and completions leak on zookeeper_close
URL: https://github.com/apache/zookeeper/pull/1000#issuecomment-504782228
 
 
   > @xoiss do you have time to try to add some minimal test case? This way we won't have
regressions in the future
   
   I have described the test-case in https://issues.apache.org/jira/browse/ZOOKEEPER-2894
   Here it is:
   > To reproduce the case, do the following:
   * open ZooKeeper session, connect to a server, receive and process connected-watch, etc.
   * then somewhere from the main events loop call for example zoo_acreate() with valid arguments
– it shall return ZOK
   * then, immediately after it returned, call zookeeper_close()
   * note that completion callback handler for zoo_acreate() will not be called
   
   But I did not try to implement it as a unit-test.
   
   Actually I don't have an idea how to perform all the preconditions, because the Server
is also involved in the setup.

----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message