commit | 7ec10c1640fd072cabc985dc42c2b176a0439ddf | [log] [tgz] |
---|---|---|
author | salsubaiee <salsubaiee@gmail.com> | Fri Aug 23 10:27:35 2013 -0700 |
committer | salsubaiee <salsubaiee@gmail.com> | Fri Aug 23 10:27:35 2013 -0700 |
tree | a2a1059d64cad2f669e8f7d640e5a14cf6c30fb1 | |
parent | 14c34b0cabacd01ad0efd7f01940e52a516691cf [diff] |
Removed uneeded check.
diff --git a/hyracks/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/AbstractMemoryLSMComponent.java b/hyracks/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/AbstractMemoryLSMComponent.java index 2cab564..ce4817b 100644 --- a/hyracks/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/AbstractMemoryLSMComponent.java +++ b/hyracks/hyracks-storage-am-lsm-common/src/main/java/edu/uci/ics/hyracks/storage/am/lsm/common/impls/AbstractMemoryLSMComponent.java
@@ -108,8 +108,7 @@ case MODIFICATION: if (isMutableComponent) { writerCount--; - // TODO: we prevent a failedOperation from changing the state of the component as a defensive code. Revisit this to verify if this check is needed at all. - if (state == ComponentState.READABLE_WRITABLE && isFull() && !failedOperation) { + if (state == ComponentState.READABLE_WRITABLE && isFull()) { state = ComponentState.READABLE_UNWRITABLE; } } else {