asterixdb-commits mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From mhub...@apache.org
Subject incubator-asterixdb git commit: Remove Unnecessary Flush on Index Drop
Date Tue, 17 May 2016 19:54:04 GMT
Repository: incubator-asterixdb
Updated Branches:
  refs/heads/master 83197109f -> b2c9dbe43


Remove Unnecessary Flush on Index Drop

Change-Id: I2e41b5d0aee13cb3b2d3a23f064c35d28837da10
Reviewed-on: https://asterix-gerrit.ics.uci.edu/804
Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
Reviewed-by: abdullah alamoudi <bamousaa@gmail.com>
Reviewed-by: Young-Seok Kim <kisskys@gmail.com>


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

Branch: refs/heads/master
Commit: b2c9dbe436dde26c9a5e3183b8670c4a4234ade8
Parents: 8319710
Author: Murtadha Hubail <mhubail@uci.edu>
Authored: Thu Apr 14 23:34:15 2016 -0700
Committer: Murtadha Hubail <hubailmor@gmail.com>
Committed: Tue May 17 12:53:59 2016 -0700

----------------------------------------------------------------------
 .../apache/asterix/common/context/DatasetLifecycleManager.java   | 4 ----
 1 file changed, 4 deletions(-)
----------------------------------------------------------------------


http://git-wip-us.apache.org/repos/asf/incubator-asterixdb/blob/b2c9dbe4/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java
----------------------------------------------------------------------
diff --git a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java
b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java
index c5f6915..84317ea 100644
--- a/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java
+++ b/asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java
@@ -168,10 +168,6 @@ public class DatasetLifecycleManager implements IDatasetLifecycleManager,
ILifeC
             }
         }
 
-        // Flush and wait for it to finish, it is separated from the above wait so they don't
deadlock each other.
-        // TODO: Find a better way to do this.
-        flushAndWaitForIO(dsInfo, iInfo);
-
         if (iInfo.isOpen) {
             ILSMOperationTracker indexOpTracker = iInfo.index.getOperationTracker();
             synchronized (indexOpTracker) {


Mime
View raw message