Ashish Kumar created HDDS-13651:
-----------------------------------

             Summary: Transactions removed from DB but not from memory 
structures in abnormal cases
                 Key: HDDS-13651
                 URL: https://issues.apache.org/jira/browse/HDDS-13651
             Project: Apache Ozone
          Issue Type: Bug
            Reporter: Ashish Kumar


cleanup of transactionToDNsCommitMap or transactionToRetryCountMap not done in 
case of abnormal scenario.

 
{code:java}
if (!txIDs.isEmpty()) {    
deletedBlockLogStateManager.removeTransactionsFromDB(txIDs);    
metrics.incrBlockDeletionTransactionCompleted(txIDs.size());    
// BUT: No cleanup of transactionToDNsCommitMap or transactionToRetryCountMap!
} {code}
 

 



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to