----------------------------------------------------------- This is an automatically generated e-mail. To reply, visit: https://reviews.apache.org/r/58516/#review172590 -----------------------------------------------------------
Ship it! The name is not very good rollbackIfNotSuccessful since this thing also closes query, but rollbackaIfNotSuccessfulButCloseQueryAnyway isn't much better :-). May be just cleanup()? - Alexander Kolbasov On April 20, 2017, 10:01 p.m., Vihang Karajgaonkar wrote: > > ----------------------------------------------------------- > This is an automatically generated e-mail. To reply, visit: > https://reviews.apache.org/r/58516/ > ----------------------------------------------------------- > > (Updated April 20, 2017, 10:01 p.m.) > > > Review request for hive, Alexander Kolbasov, Sergio Pena, and Sahil Takiar. > > > Bugs: HIVE-16213 > https://issues.apache.org/jira/browse/HIVE-16213 > > > Repository: hive-git > > > Description > ------- > > HIVE-16213 : ObjectStore can leak Queries when rollbackTransaction throws an > exception > > > Diffs > ----- > > metastore/src/java/org/apache/hadoop/hive/metastore/ObjectStore.java > 6b217516bc74c612348b8edeca077dfbdbdb1a40 > metastore/src/test/org/apache/hadoop/hive/metastore/TestObjectStore.java > 9b8eaf2ab72fcf1fe0d58e8913ac1b84ec7e71cf > > > Diff: https://reviews.apache.org/r/58516/diff/2/ > > > Testing > ------- > > > Thanks, > > Vihang Karajgaonkar > >