> On ápr. 14, 2020, 11:22 de, Peter Vary wrote: > > standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java > > Lines 1325 (patched) > > <https://reviews.apache.org/r/72359/diff/1/?file=2217523#file2217523line1388> > > > > Not really important since this is a private method, but why not return > > boolean instead? > > Marton Bod wrote: > Would be nice, but we need the ResultSet to log out the details of what > exact conflict has been found.
Valid point :) - Peter ----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/72359/#review220308 ----------------------------------------------------------- On ápr. 14, 2020, 8:57 de, Marton Bod wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/72359/ > ----------------------------------------------------------- > > (Updated ápr. 14, 2020, 8:57 de) > > > Review request for hive, Denys Kuzmenko and Peter Vary. > > > Repository: hive-git > > > Description > ------- > > HIVE-23104: Minimize critical paths of TxnHandler::commitTxn and abortTxn > > > Diffs > ----- > > > standalone-metastore/metastore-server/src/main/java/org/apache/hadoop/hive/metastore/txn/TxnHandler.java > 7d0db0c3a0 > > > Diff: https://reviews.apache.org/r/72359/diff/2/ > > > Testing > ------- > > Green build: > https://builds.apache.org/job/PreCommit-HIVE-Build/21539/testReport > Benchmark results attached to ticket: > https://issues.apache.org/jira/browse/HIVE-23104 > > > Thanks, > > Marton Bod > >