Murtadha Hubail has submitted this change and it was merged. Change subject: Remove Unnecessary Flush on Index Drop ......................................................................
Remove Unnecessary Flush on Index Drop Change-Id: I2e41b5d0aee13cb3b2d3a23f064c35d28837da10 Reviewed-on: https://asterix-gerrit.ics.uci.edu/804 Tested-by: Jenkins <[email protected]> Reviewed-by: abdullah alamoudi <[email protected]> Reviewed-by: Young-Seok Kim <[email protected]> --- M asterixdb/asterix-common/src/main/java/org/apache/asterix/common/context/DatasetLifecycleManager.java 1 file changed, 0 insertions(+), 4 deletions(-) Approvals: abdullah alamoudi: Looks good to me, approved Young-Seok Kim: Looks good to me, approved Jenkins: Verified 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) { -- To view, visit https://asterix-gerrit.ics.uci.edu/804 To unsubscribe, visit https://asterix-gerrit.ics.uci.edu/settings Gerrit-MessageType: merged Gerrit-Change-Id: I2e41b5d0aee13cb3b2d3a23f064c35d28837da10 Gerrit-PatchSet: 2 Gerrit-Project: asterixdb Gerrit-Branch: master Gerrit-Owner: Murtadha Hubail <[email protected]> Gerrit-Reviewer: Jenkins <[email protected]> Gerrit-Reviewer: Murtadha Hubail <[email protected]> Gerrit-Reviewer: Young-Seok Kim <[email protected]> Gerrit-Reviewer: abdullah alamoudi <[email protected]>
