maksaska commented on code in PR #13627:
URL: https://github.com/apache/ignite/pull/13627#discussion_r4540906802
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java:
##########
@@ -2391,8 +2394,21 @@ private String exchangeTimingsLogMessage(String header,
List<String> timings) {
cleanIdxRebuildFutures = false;
- for (CacheGroupContext grp : cctx.cache().cacheGroups())
- grp.topology().onExchangeDone(this,
grp.affinity().readyAffinity(res), false);
+ for (CacheGroupContext grp : cctx.cache().cacheGroups()) {
+ if (grp.topology().onExchangeDone(this,
grp.affinity().readyAffinity(res), false))
+ locChangedGrps.add(grp);
+ }
+
+ if (!locChangedGrps.isEmpty()
+ &&
cctx.kernalContext().rollingUpgrade().features().isActive(PART_STATE_FROM_OWNER_FEATURE))
{
Review Comment:
Agreed: an older node handles this map like any other single message.
##########
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java:
##########
@@ -142,6 +142,7 @@
import static
org.apache.ignite.internal.processors.cache.ExchangeDiscoveryEvents.serverJoinEvent;
import static
org.apache.ignite.internal.processors.cache.ExchangeDiscoveryEvents.serverLeftEvent;
import static
org.apache.ignite.internal.processors.cache.persistence.snapshot.IgniteSnapshotManager.isSnapshotOperation;
+import static
org.apache.ignite.internal.processors.rollingupgrade.feature.CoreFeatureRegistry.PART_STATE_FROM_OWNER_FEATURE;
Review Comment:
Removed
--
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.
To unsubscribe, e-mail: [email protected]
For queries about this service, please contact Infrastructure at:
[email protected]