commit | b2c9dbe436dde26c9a5e3183b8670c4a4234ade8 | [log] [tgz] |
---|---|---|
author | Murtadha Hubail <mhubail@uci.edu> | Thu Apr 14 23:34:15 2016 -0700 |
committer | Murtadha Hubail <hubailmor@gmail.com> | Tue May 17 12:53:59 2016 -0700 |
tree | 11541d364ee567b3868aac0eacf7efd3467b6817 | |
parent | 83197109fb81ff3d6c3f3fad4ceb8146fed89748 [diff] |
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>
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 @@ } } - // 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) {