ctubbsii commented on issue #2474:
URL: https://github.com/apache/accumulo/issues/2474#issuecomment-1061791145


   > So, I changed the test method to:
   > 
   > ```
   >   private static TStatus getTxStatus(ZooReaderWriter zrw, long txid)
   >       throws KeeperException, InterruptedException {
   >     String txdir = String.format("%s%s/tx_%016x", ZK_ROOT, 
Constants.ZFATE, txid);
   >     zrw.getZooKeeper().sync(txdir, null, null);
   >     return TStatus.valueOf(new String(zrw.getData(txdir), UTF_8));
   >   }
   > ```
   > 
   > Subsequent tests both succeeded and failed. Looking at the `sync` javadoc, 
it's asynchronous. :-(
   
   Right, so, we gotta create a callback to sync the sync :smiley_cat:
   I forgot to mention that.


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

To unsubscribe, e-mail: notifications-unsubscr...@accumulo.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


Reply via email to