zookeeper-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From dolphy17 <...@git.apache.org>
Subject [GitHub] zookeeper issue #400: ZOOKEEPER-1703: Added instructions on how to run the e...
Date Thu, 12 Oct 2017 04:32:32 GMT
Github user dolphy17 commented on the issue:

    https://github.com/apache/zookeeper/pull/400
  
    thanks @afine 
    
    Some hint on the code changes: consumer code wasn't able to delete the node, because it
concatenated the string 'element' with an integer which resulted in something like '/app1/element1',
but the actual node was '/app1/element00000001'. This is the standard behaviour of creating
sequential nodes, ZK adds a couple of leading zeros.
    
    To fix this, consumer now saves the name of the node together with its number to delete
it properly.


---

Mime
View raw message