ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From agoncha...@apache.org
Subject [1/2] ignite git commit: ignite-db-x assertion fail on stop node, fail destroy table, print info for investigation
Date Tue, 21 Feb 2017 16:59:19 GMT
Repository: ignite
Updated Branches:
  refs/heads/ignite-3477 84df8b32d -> 40f015d18


ignite-db-x assertion fail on stop node, fail destroy table, print info for investigation


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

Branch: refs/heads/ignite-3477
Commit: aea459d773385f312535b203697f478d137880bf
Parents: 946e71c
Author: Dmitriy Govorukhin <dgovorukhin@gridgain.com>
Authored: Tue Feb 21 19:49:39 2017 +0300
Committer: Dmitriy Govorukhin <dgovorukhin@gridgain.com>
Committed: Tue Feb 21 19:49:39 2017 +0300

----------------------------------------------------------------------
 .../internal/processors/query/h2/opt/GridH2Table.java     | 10 +++++++++-
 1 file changed, 9 insertions(+), 1 deletion(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/aea459d7/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2Table.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2Table.java
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2Table.java
index f3069a7..30219dc 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2Table.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/opt/GridH2Table.java
@@ -38,6 +38,7 @@ import org.apache.ignite.internal.processors.query.h2.database.H2RowFactory;
 import org.apache.ignite.internal.processors.query.h2.database.H2TreeIndex;
 import org.apache.ignite.internal.util.offheap.unsafe.GridUnsafeMemory;
 import org.apache.ignite.internal.util.typedef.F;
+import org.apache.ignite.internal.util.typedef.internal.U;
 import org.apache.ignite.lang.IgniteBiTuple;
 import org.h2.api.TableEngine;
 import org.h2.command.ddl.CreateTableData;
@@ -445,7 +446,14 @@ public class GridH2Table extends TableBase {
         Lock l = lock(true, Long.MAX_VALUE);
 
         try {
-            assert sessions.isEmpty() : sessions;
+           /* assert sessions.isEmpty() : sessions;*/
+
+            //todo only for investigation
+            if (!sessions.isEmpty()){
+                System.out.println(sessions);
+
+                U.dumpThreads(null);
+            }
 
             destroyed = true;
 


Mime
View raw message