ignite-notifications mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From GitBox <...@apache.org>
Subject [GitHub] [ignite] Jokser commented on a change in pull request #6942: IGNITE-9913
Date Wed, 09 Oct 2019 13:55:28 GMT
Jokser commented on a change in pull request #6942: IGNITE-9913
URL: https://github.com/apache/ignite/pull/6942#discussion_r333026953
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/ExchangeContext.java
 ##########
 @@ -58,7 +66,17 @@
     public ExchangeContext(boolean crd, GridDhtPartitionsExchangeFuture fut) {
         int protocolVer = exchangeProtocolVersion(fut.firstEventCache().minimumNodeVersion());
 
-        if (compatibilityNode || (crd && fut.localJoinExchange())) {
+        GridDiscoveryManager disco = fut.sharedContext().discovery();
+
+        if (protocolVer > 2 && fut.exchangeId().isLeft() && fut.isEventNodeInBaseline()
&&
 
 Review comment:
   `disco.baselineChanged(fut.sharedContext().exchange().readyAffinityVersion(), fut.initialVersion())`
   This code will return `true` only if baseline has changed by `NODE_LEFT` event. Baseline
is changed automatically in discovery cache only if it's in-memory cluster and auto-adjust
is enabled. In other cases baseline is changed manually (if auto-adjust disabled) or by separate
event (ChangeGlobalState) right after topology event if auto-adjust is enabled.

----------------------------------------------------------------
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.
 
For queries about this service, please contact Infrastructure at:
users@infra.apache.org


With regards,
Apache Git Services

Mime
View raw message