ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject ignite git commit: 1093
Date Wed, 28 Oct 2015 15:37:07 GMT
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 <av@apache.org>
Authored: Wed Oct 28 18:36:58 2015 +0300
Committer: Anton Vinogradov <av@apache.org>
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();
+            }
         }
     }
 


Mime
View raw message