ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject ignite git commit: debug
Date Thu, 01 Oct 2015 11:45:52 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-slow-rebal 4d61a0f0c -> ee4e65088


debug


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

Branch: refs/heads/ignite-slow-rebal
Commit: ee4e65088114fd1e2dfa229f0853551c1ecb5e1d
Parents: 4d61a0f
Author: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Authored: Thu Oct 1 14:45:36 2015 +0300
Committer: Alexey Goncharuk <alexey.goncharuk@gmail.com>
Committed: Thu Oct 1 14:45:36 2015 +0300

----------------------------------------------------------------------
 .../cache/distributed/dht/GridDhtPartitionTopologyImpl.java  | 8 ++++++++
 1 file changed, 8 insertions(+)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/ee4e6508/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java
----------------------------------------------------------------------
diff --git a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java
b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java
index a0c9c88..306176f 100644
--- a/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java
+++ b/modules/core/src/main/java/org/apache/ignite/internal/processors/cache/distributed/dht/GridDhtPartitionTopologyImpl.java
@@ -938,9 +938,17 @@ class GridDhtPartitionTopologyImpl implements GridDhtPartitionTopology
{
             return null;
         }
 
+        // TODO remove
+
+        long start = U.currentTimeMillis();
+
         lock.writeLock().lock();
 
         try {
+            long end = U.currentTimeMillis();
+
+            U.debug(log, "Acquired partition topology lock in " + (end - start) + "ms");
+
             if (stopping)
                 return null;
 


Mime
View raw message