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

Review request for geode, Galen O'Sullivan, Hitesh Khamesra, and Udo Kohlmeyer.


Bugs: geode-2193
    https://issues.apache.org/jira/browse/geode-2193


Repository: geode


Description
-------

The problem is happening because we send a shutdown message, initiating 
election of a new coordinator, but the old ViewCreator is allowed to send out a 
view announcing a new member.  The new coordinator manages to send out a new 
view before the old ViewCreator sends out the new member's view.  Other members 
ignore the old ViewCreator's view because its view ID is old.  Then the reject 
the new member because it has an old view ID and it isn't in their membership 
view.

initial view ID is x
new coordinator prepares view x+10
old coordinator prepares view x+1
other members install x+10, reject view x+1
new member joins in view x+1 when it receives view-prepare message
new member is rejected by other members because x+1 < x+10


Diffs
-----

  
geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/membership/GMSJoinLeave.java
 6d782b147529d0d37a3b130e40e2a79322469fa4 

Diff: https://reviews.apache.org/r/54546/diff/


Testing
-------

precheckin, new unit test, integration testing


Thanks,

Bruce Schuchardt

Reply via email to