geode-dev mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From Hitesh Khamesra <hkhame...@pivotal.io>
Subject Review Request 60856: GEODE-3052 Need to reset isCoordinator flag in GMSLocator.
Date Thu, 13 Jul 2017 23:28:33 GMT

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

Review request for geode, Alexander Murmann, Bruce Schuchardt, Galen O'Sullivan, and Udo Kohlmeyer.


Repository: geode


Description
-------

isCoordinator flag ensures that this process is becoming the
    coordinator thus other process should join this process. But
    when network parttion happens, we were not resetting this flag.

    Now we reset isCoordinator flag when viewCreator thread shutdowns.

    added unit test for it.


Diffs
-----

  geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/locator/GMSLocator.java
2c56f5b 
  geode-core/src/main/java/org/apache/geode/distributed/internal/membership/gms/membership/GMSJoinLeave.java
9591673 
  geode-core/src/test/java/org/apache/geode/distributed/internal/membership/gms/membership/GMSJoinLeaveJUnitTest.java
d8c12e2 


Diff: https://reviews.apache.org/r/60856/diff/1/


Testing
-------


Thanks,

Hitesh Khamesra


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