pvary commented on a change in pull request #1795:
URL: https://github.com/apache/hive/pull/1795#discussion_r551258899
##########
File path: ql/src/java/org/apache/hadoop/hive/ql/DriverTxnHandler.java
##########
@@ -527,11 +527,15 @@ void release() {
release(!hiveLocks.isEmpty());
}
- void destroy() {
+ void destroy(String queryIdFromDriver) {
+ // We need cleanup transactions, even if we did not acquired locks yet
+ // However TxnManager is bound to session, so wee need to check if it is
already handling a new query
Review comment:
If the TxnManager is handling a new query, would the old transaction be
closed correctly?
----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.
For queries about this service, please contact Infrastructure at:
[email protected]
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]