IGNITE-7871 Fixed condition for cache partitions validation. - Fixes #3804.
Signed-off-by: dpavlov <dpav...@apache.org> Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/7a1d0ea7 Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/7a1d0ea7 Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/7a1d0ea7 Branch: refs/heads/ignite-7708 Commit: 7a1d0ea70127f73409071d7f9581a8207be97491 Parents: 706e7f8 Author: Pavel Kovalenko <jokse...@gmail.com> Authored: Thu Apr 12 14:29:43 2018 +0300 Committer: dpavlov <dpav...@apache.org> Committed: Thu Apr 12 14:29:43 2018 +0300 ---------------------------------------------------------------------- .../distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/7a1d0ea7/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java index dd4a571..af5acd6 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionsExchangeFuture.java @@ -2760,7 +2760,7 @@ public class GridDhtPartitionsExchangeFuture extends GridDhtTopologyFutureAdapte || grpCtx.config().isReadThrough() || grpCtx.config().isWriteThrough() || grpCtx.config().getCacheStoreFactory() != null - || grpCtx.config().getRebalanceDelay() != -1 + || grpCtx.config().getRebalanceDelay() == -1 || grpCtx.config().getRebalanceMode() == CacheRebalanceMode.NONE) continue;