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 2019/12/04 11:54:59 UTC

[GitHub] [ignite] NSAmelchev commented on a change in pull request #7069: IGNITE-9913 PR #2

NSAmelchev commented on a change in pull request #7069: IGNITE-9913 PR #2
URL: https://github.com/apache/ignite/pull/7069#discussion_r353700611
 
 

 ##########
 File path: modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java
 ##########
 @@ -1653,7 +1709,9 @@ private void waitPartitionRelease(boolean distributed, boolean doRollback) throw
             if (distributed)
                 releaseLatch = cctx.exchange().latch().getOrCreate(DISTRIBUTED_LATCH_ID, initialVersion());
 
-            partReleaseFut = cctx.partitionReleaseFuture(initialVersion());
+            partReleaseFut = context().exchangeFreeSwitch() ?
 
 Review comment:
   I think we should update javadoc because the method will not wait for all ongoing updates in case of `exchangeFreeSwitch`.

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