ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From a.@apache.org
Subject [1/2] ignite git commit: IGNITE-4242 ExchangeManager should wait for cache rebalancing in async way
Date Wed, 23 Nov 2016 12:03:45 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-4242 42ff3553a -> cfe5ebf60


IGNITE-4242 ExchangeManager should wait for cache rebalancing in async way


Project: http://git-wip-us.apache.org/repos/asf/ignite/repo
Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/94e35ead
Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/94e35ead
Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/94e35ead

Branch: refs/heads/ignite-4242
Commit: 94e35eadf78836e6913907bad4de01793a989bb9
Parents: 42ff355
Author: Anton Vinogradov <av@apache.org>
Authored: Wed Nov 23 12:47:03 2016 +0300
Committer: Anton Vinogradov <av@apache.org>
Committed: Wed Nov 23 12:47:03 2016 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/preloader/GridDhtPartitionDemander.java | 3 +++
 1 file changed, 3 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/94e35ead/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java
index 95bf897..de472da 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionDemander.java
@@ -296,6 +296,9 @@ public class GridDhtPartitionDemander {
                         });
 
                     if (assigns.isEmpty()) {
+                        if (log.isDebugEnabled())
+                            log.debug("Rebalancing skipped due to empty assignments.");
+
                         rebalanceFut.onDone(true);
 
                         return;


Mime
View raw message