ignite-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From sboi...@apache.org
Subject [6/6] ignite git commit: ignite-1232 Fixed issue with not removed table on cache destroy
Date Tue, 16 Feb 2016 08:13:08 GMT
ignite-1232 Fixed issue with not removed table on cache destroy


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

Branch: refs/heads/ignite-1232
Commit: 3f6d0c9a61b7a01ed5e49093d6c1ba0676a5fa0e
Parents: 5bbdb61
Author: sboikov <sboikov@gridgain.com>
Authored: Tue Feb 16 11:12:54 2016 +0300
Committer: sboikov <sboikov@gridgain.com>
Committed: Tue Feb 16 11:12:54 2016 +0300

----------------------------------------------------------------------
 .../ignite/internal/processors/query/h2/IgniteH2Indexing.java    | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/ignite/blob/3f6d0c9a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
----------------------------------------------------------------------
diff --git a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
index f6c312e..2d437ed 100644
--- a/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
+++ b/modules/indexing/src/main/java/org/apache/ignite/internal/processors/query/h2/IgniteH2Indexing.java
@@ -1772,14 +1772,14 @@ public class IgniteH2Indexing implements GridQueryIndexing {
             space2schema.remove(emptyIfNull(rmv.spaceName));
             mapQryExec.onCacheStop(ccfg.getName());
 
+            rmv.onDrop();
+
             try {
                 dropSchema(schema);
             }
             catch (IgniteCheckedException e) {
                 U.error(log, "Failed to drop schema on cache stop (will ignore): " + U.maskName(ccfg.getName()),
e);
             }
-
-            rmv.onDrop();
         }
     }
 


Mime
View raw message