You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@ignite.apache.org by GitBox <gi...@apache.org> on 2021/09/07 13:14:55 UTC

[GitHub] [ignite] ascherbakoff commented on a change in pull request #9352: IGNITE-15364 Fixed an issue that could break data consistency.

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: notifications-unsubscribe@ignite.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org