----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/71705/#review218491 -----------------------------------------------------------
LGTM, just minor comments. Also you mentioned unit test, do not see it in a patch. - Denys Kuzmenko On Nov. 4, 2019, 10:02 a.m., Aron Hamvas wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/71705/ > ----------------------------------------------------------- > > (Updated Nov. 4, 2019, 10:02 a.m.) > > > Review request for hive, Denys Kuzmenko, Marta Kuczora, Laszlo Pinter, and > Peter Vary. > > > Bugs: HIVE-22420 > https://issues.apache.org/jira/browse/HIVE-22420 > > > Repository: hive-git > > > Description > ------- > > DbTxnManager.stopHeartbeat() should be thread-safe, rollbackTxn() should > check before calling MS client, if txn has been closed previously, to avoid > sending 0 as txnId. > > > Diffs > ----- > > ql/src/java/org/apache/hadoop/hive/ql/lockmgr/DbTxnManager.java 943aa383bb > > > Diff: https://reviews.apache.org/r/71705/diff/2/ > > > Testing > ------- > > unit test > > > Thanks, > > Aron Hamvas > >