commit | 15589b42e590da67b9b5392541e58827ac1bb804 | [log] [tgz] |
---|---|---|
author | Abdullah Alamoudi <bamousaa@gmail.com> | Mon Feb 19 11:01:24 2018 -0800 |
committer | abdullah alamoudi <bamousaa@gmail.com> | Mon Feb 19 14:44:22 2018 -0800 |
tree | da5100ab7bc62155f425f89dd2e313330ce13573 | |
parent | 18ef4b99aec3e97bfc59e5960e24073d9d6b57a7 [diff] |
[NO ISSUE][OTH] Remove logs for legal destroy calls - user model changes: no - storage format changes: no - interface changes: no details: - Previously, we logged when a cursor was destroyed multiple times. - Since this is a legal call, we don't log this anymore. Change-Id: I8fc5c4ad165e44d5259446aad8e64826a672fd77 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2403 Sonar-Qube: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Tested-by: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Contrib: Jenkins <jenkins@fulliautomatix.ics.uci.edu> Reviewed-by: Murtadha Hubail <mhubail@apache.org> Integration-Tests: Jenkins <jenkins@fulliautomatix.ics.uci.edu>
diff --git a/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/EnforcedIndexCursor.java b/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/EnforcedIndexCursor.java index 929faff..b7caf7f 100644 --- a/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/EnforcedIndexCursor.java +++ b/hyracks-fullstack/hyracks/hyracks-storage-common/src/main/java/org/apache/hyracks/storage/common/EnforcedIndexCursor.java
@@ -85,8 +85,6 @@ public final void destroy() throws HyracksDataException { if (ENFORCE_OPEN_CLOSE_DESTROY) { if (state == State.DESTROYED) { - LOGGER.log(Level.WARN, - "multiple cursor.destroy() call in " + Arrays.toString(new Throwable().getStackTrace())); return; } else if (state != State.CLOSED) { if (STORE_TRACES && openCallStack != null) {