ascherbakoff commented on a change in pull request #9352:
URL: https://github.com/apache/ignite/pull/9352#discussion_r703498967



##########
File path: 
modules/core/src/main/java/org/apache/ignite/internal/processors/cache/GridCachePartitionExchangeManager.java
##########
@@ -3311,15 +3312,19 @@ private void body0() throws InterruptedException, 
IgniteCheckedException {
                                 if 
(fut.topologyVersion().equals(lastAffChangedVer))
                                     exchFut = fut;
                                 else if 
(lastAffChangedVer.after(exchId.topologyVersion())) {
-                                    // There is a new exchange which should 
trigger rebalancing.
-                                    // This reassignment request can be 
skipped.
-                                    if (log.isInfoEnabled()) {
-                                        log.info("Partitions reassignment 
request skipped due to affinity was already changed" +
-                                            " [reassignTopVer=" + 
exchId.topologyVersion() +
-                                            ", lastAffChangedTopVer=" + 
lastAffChangedVer + ']');
-                                    }
+                                    if (lastFut.exchangeType() == ALL) {

Review comment:
       ```suggestion
                                       if (lastFut.exchangeType() == ALL && 
!exchFut.rebalanced()) {
   ```




-- 
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]


Reply via email to