lokeshj1703 commented on pull request #1740:
URL: https://github.com/apache/ozone/pull/1740#issuecomment-754539002


   @sky76093016 I made it debug in HDDS-4356 because it was being printed 
thousands of times during deletion. The idea of the jira was to investigate why 
the below code was getting executed. On receiving ACK from all datanodes SCM 
purges delete transaction from DB. If transaction is being resent after purge 
then this log can be printed. I wanted to understand the scenario because there 
might be a case where delete txn is being resent although it has been ACKed by 
the datanodes.
   
   ```
           if (block == null) { 
             if (LOG.isDebugEnabled()) {        
               // This can occur due to race condition between retry and old    
               // service task where old task removes the transaction and the 
new       
               // task is resending     
               LOG.debug("Deleted TXID {} not found.", txID);   
             }  
             continue;  
           }
   ```


----------------------------------------------------------------
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

For queries about this service, please contact Infrastructure at:
[email protected]



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

Reply via email to