commit | 8611a8327f888eae5ed1739ba8fadfc780e64154 | [log] [tgz] |
---|---|---|
author | alexander.behm <alexander.behm@123451ca-8445-de46-9d55-352943316053> | Sat Nov 24 02:54:05 2012 +0000 |
committer | alexander.behm <alexander.behm@123451ca-8445-de46-9d55-352943316053> | Sat Nov 24 02:54:05 2012 +0000 |
tree | be96ea3ea3eb644633eb4dcf5176920f7e34d629 | |
parent | 30f655ac401da424072d8865915c68984a5d2691 [diff] |
Fixed a bug introduced in r2413 that leadto LSM searches being executed as 'try' operations. This caused searchers not to wait for flushes, which violates our current CC protocol, and ultimately lead to hanging threads. git-svn-id: https://hyracks.googlecode.com/svn/branches/hyracks_lsm_tree@2483 123451ca-8445-de46-9d55-352943316053
diff --git a/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/LSMHarness.java b/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/LSMHarness.java index cb28068..05a6fa3 100644 --- a/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/LSMHarness.java +++ b/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/LSMHarness.java
@@ -148,7 +148,7 @@ // If the search doesn't include the in-memory component, then we don't have // to synchronize with a flush. if (includeMemComponent) { - opTracker.beforeOperation(ctx.getSearchOperationCallback(), ctx.getModificationCallback(), true); + opTracker.beforeOperation(ctx.getSearchOperationCallback(), ctx.getModificationCallback(), false); } // Get a snapshot of the current on-disk Trees.