[ https://issues.apache.org/jira/browse/ASTERIXDB-2321?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16408567#comment-16408567 ]
ASF subversion and git services commented on ASTERIXDB-2321: ------------------------------------------------------------ Commit 4d0de7dd511f77c1ec9693a03a6506156b2dc007 in asterixdb's branch refs/heads/release-0.9.4-pre-rc from [~alamoudi] [ https://git-wip-us.apache.org/repos/asf?p=asterixdb.git;h=4d0de7d ] [ASTERIXDB-2321][STO] Follow the contract in IIndexCursor.open calls - user model changes: no - storage format changes: no - interface changes: no Details: - The index cursor contract says that an open call which returns successfully, leaves the cursor in the open state, otherwise, the cursor remains in the closed state. - The LSM cursors have many cursors inside. In the case where one of the cursors fails to open, and an exception is about to be thrown, we must close all previously open cursors since the LSM cursor will be in the closed state and close will not be called. Change-Id: I19db2afd2d6ca4a2ca1056cd95ae504b2be69813 Reviewed-on: https://asterix-gerrit.ics.uci.edu/2501 Sonar-Qube: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Reviewed-by: Michael Blow <mb...@apache.org> Tested-by: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Contrib: Jenkins <jenk...@fulliautomatix.ics.uci.edu> Integration-Tests: Jenkins <jenk...@fulliautomatix.ics.uci.edu> > java.lang.IllegalStateException: Cannot destroy a cursor in the state OPENED > ---------------------------------------------------------------------------- > > Key: ASTERIXDB-2321 > URL: https://issues.apache.org/jira/browse/ASTERIXDB-2321 > Project: Apache AsterixDB > Issue Type: Bug > Components: RT - Runtime > Reporter: Michael Blow > Assignee: Abdullah Alamoudi > Priority: Critical > Labels: intermittent, sporadic-error, triaged > Attachments: archive (12).zip > > > https://asterix-jenkins.ics.uci.edu/job/asterix-gerrit-cancellation-test/2979/ > logs attached. -- This message was sent by Atlassian JIRA (v7.6.3#76005)