Repository: ignite Updated Branches: refs/heads/ignite-1093-3 76bf28ae0 -> 751d2c2cd
1093 Project: http://git-wip-us.apache.org/repos/asf/ignite/repo Commit: http://git-wip-us.apache.org/repos/asf/ignite/commit/751d2c2c Tree: http://git-wip-us.apache.org/repos/asf/ignite/tree/751d2c2c Diff: http://git-wip-us.apache.org/repos/asf/ignite/diff/751d2c2c Branch: refs/heads/ignite-1093-3 Commit: 751d2c2cd9cec339d7f1651b021b68ef8fb9cede Parents: 76bf28a Author: Anton Vinogradov <[email protected]> Authored: Wed Oct 28 18:36:58 2015 +0300 Committer: Anton Vinogradov <[email protected]> Committed: Wed Oct 28 18:36:58 2015 +0300 ---------------------------------------------------------------------- .../distributed/dht/preloader/GridDhtPartitionSupplier.java | 5 +++++ 1 file changed, 5 insertions(+) ---------------------------------------------------------------------- http://git-wip-us.apache.org/repos/asf/ignite/blob/751d2c2c/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionSupplier.java ---------------------------------------------------------------------- diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionSupplier.java b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionSupplier.java index 53ca073..494560f 100644 --- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionSupplier.java +++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/preloader/GridDhtPartitionSupplier.java @@ -659,6 +659,11 @@ class GridDhtPartitionSupplier { loc, updateSeq)); } + else if (loc != null) { + assert loc.reservations() > 0; + + loc.release(); + } } }
