pkumarsinha commented on a change in pull request #2101:
URL: https://github.com/apache/hive/pull/2101#discussion_r621757736



##########
File path: ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java
##########
@@ -495,6 +501,7 @@ public void replCommitTxn(CommitTxnRequest rqst) throws 
LockException {
         // For transaction started internally by repl load command, heartbeat 
needs to be stopped.
         clearLocksAndHB();
       }
+      rqst.setTxn_type(TxnType.REPL_CREATED);

Review comment:
       rqst object is getting created somewhere else, why not to set the type 
right there?




-- 
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]

Reply via email to