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



That's a lot better


gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
 (line 2254)
<https://reviews.apache.org/r/43059/#comment178596>

    Members who have sent a Leave request are healthy and should not be 
considered crashed, so they should not be put back into the mbrs collection.  
Only the Removed members that we haven't received a Leave from should be put 
back into mbrs.
    
    So, get rid of the if(!newLeaves.isEmpty) block and change the other to 
this:
    
    if (!newRemovals.isEmpty()) {
      newRemovals.removeAll(newLeaves);
      mbrs.addAll(newRemovals);
    }



gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
 (line 2164)
<https://reviews.apache.org/r/43059/#comment178597>

    This block of code could be replaced with filterLeavingMembers like you did 
in the new code.



gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
 (line 2265)
<https://reviews.apache.org/r/43059/#comment178598>

    "removalRequestForMembers" isn't a good name for this parameter since they 
might be Remove requests or Leave requests.  Call it "requestIDs" or something 
without "remove" in the name.


- Bruce Schuchardt


On Feb. 2, 2016, 12:11 a.m., Hitesh Khamesra wrote:
> 
> -----------------------------------------------------------
> This is an automatically generated e-mail. To reply, visit:
> https://reviews.apache.org/r/43059/
> -----------------------------------------------------------
> 
> (Updated Feb. 2, 2016, 12:11 a.m.)
> 
> 
> Review request for geode, Bruce Schuchardt and Udo Kohlmeyer.
> 
> 
> Repository: geode
> 
> 
> Description
> -------
> 
> ViewCreator thread sends another message when any member doesn't ack back to
>     prepared view. And then it waits on future as this can happen for 
> multiple members.
>     In this case, If those members are not responsive and other thread 
> already determined that,
>     then we don't need to wait for those members. Thus now viewCreator thread 
> checks
>     RemoveMember message for those members while waiting for response.
>     Another minor fix in same area.
>     And added unit test for that
> 
> 
> Diffs
> -----
> 
>   
> gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/fd/GMSHealthMonitor.java
>  b6f6c12 
>   
> gemfire-core/src/main/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeave.java
>  6b09214 
>   
> gemfire-core/src/test/java/com/gemstone/gemfire/distributed/internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java
>  5b53290 
> 
> Diff: https://reviews.apache.org/r/43059/diff/
> 
> 
> Testing
> -------
> 
> 
> Thanks,
> 
> Hitesh Khamesra
> 
>

Reply via email to