Skip to content

Commit

Permalink
[KYUUBI-2450][FOLLOWUP] Remove Operation handle from opHandleSet when…
Browse files Browse the repository at this point in the history
… exception occurs
  • Loading branch information
wForget committed Apr 28, 2022
1 parent 93f13ef commit a4ef89a
Showing 1 changed file with 1 addition and 0 deletions.
Original file line number Diff line number Diff line change
Expand Up @@ -95,6 +95,7 @@ abstract class AbstractSession(
opHandle
} catch {
case e: KyuubiSQLException =>
opHandleSet.remove(operation.getHandle)
sessionManager.operationManager.closeOperation(operation.getHandle)
throw e
}
Expand Down

0 comments on commit a4ef89a

Please sign in to comment.