Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Fixed
-
0.14.0
-
None
Description
When the client of TransactionBatch API encounters an error it must close() the batch and start a new one. This prevents attempts to continue writing to a file that may damaged in some way.
The close() should ensure to abort the any txns that still remain in the batch and close (best effort) all the files it's writing to. The batch should also put itself into a mode where any future ops on this batch fail.
Attachments
Attachments
Issue Links
- blocks
-
HIVE-12440 expose TxnHandler.abortTxns(Connection dbConn, List<Long> txnids) as metastore opertaion
- Open