Details
-
Bug
-
Status: Resolved
-
Minor
-
Resolution: Fixed
-
1.2.1
-
None
Description
We reset the deadlock count to 0 every time the lock() method is called in org.apache.hadoop.hive.metastore.txn.TxnHandler, so the ten count is never reached in checkRetryable().
We should let checkRetryable handle the deadlock count.
public LockResponse lock(LockRequest rqst)
throws NoSuchTxnException, TxnAbortedException, MetaException
{
>>> this.deadlockCnt = 0; <<<
try
{
Connection dbConn = null;
try
{
Attachments
Attachments
Issue Links
- blocks
-
HIVE-11916 TxnHandler.getOpenTxnsInfo() and getOpenTxns() may produce inconsistent result
- Resolved
- relates to
-
HIVE-10500 Repeated deadlocks in underlying RDBMS cause transaction or lock failure
- Closed