accumulo-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Josh Elser" <josh.el...@gmail.com>
Subject Re: Review Request 26943: Changes to ZK for implicit retry handling
Date Tue, 21 Oct 2014 16:33:35 GMT


> On Oct. 21, 2014, 4:21 p.m., kturner wrote:
> > fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooCache.java, line 167
> > <https://reviews.apache.org/r/26943/diff/1/?file=725844#file725844line167>
> >
> >     why avoid sleeping before retry in this case?
> 
> Josh Elser wrote:
>     The sleep happens down below in the call to wait()

Ooops, you're right. I goofed that.


- Josh


-----------------------------------------------------------
This is an automatically generated e-mail. To reply, visit:
https://reviews.apache.org/r/26943/#review57590
-----------------------------------------------------------


On Oct. 20, 2014, 4:28 p.m., Josh Elser wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/26943/
> -----------------------------------------------------------
> 
> (Updated Oct. 20, 2014, 4:28 p.m.)
> 
> 
> Review request for accumulo.
> 
> 
> Bugs: ACCUMULO-3242
>     https://issues.apache.org/jira/browse/ACCUMULO-3242
> 
> 
> Repository: accumulo
> 
> 
> Description
> -------
> 
> We didn't do some things correctly WRT zookeeper retries. Attempt to make it better.
Made a review in case people want to give some feedback
> 
> 
> Diffs
> -----
> 
>   fate/src/main/java/org/apache/accumulo/fate/zookeeper/IZooReaderWriter.java afc2250

>   fate/src/main/java/org/apache/accumulo/fate/zookeeper/Retry.java 4a37172 
>   fate/src/main/java/org/apache/accumulo/fate/zookeeper/RetryFactory.java 3fcb738 
>   fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooCache.java d9eb243 
>   fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooReader.java 994f395 
>   fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooReaderWriter.java b29b88a

>   fate/src/main/java/org/apache/accumulo/fate/zookeeper/ZooUtil.java e0d8831 
>   fate/src/test/java/org/apache/accumulo/fate/zookeeper/RetryTest.java PRE-CREATION 
>   fate/src/test/java/org/apache/accumulo/fate/zookeeper/ZooReaderWriterTest.java PRE-CREATION

>   server/base/src/main/java/org/apache/accumulo/server/init/Initialize.java 5cbffc3 
>   server/base/src/main/java/org/apache/accumulo/server/security/handler/ZKPermHandler.java
3cac2e9 
> 
> Diff: https://reviews.apache.org/r/26943/diff/
> 
> 
> Testing
> -------
> 
> UTs/ITs
> 
> 
> Thanks,
> 
> Josh Elser
> 
>


Mime
  • Unnamed multipart/alternative (inline, None, 0 bytes)
View raw message