xichen01 opened a new pull request, #6731:
URL: https://github.com/apache/ozone/pull/6731

   ## What changes were proposed in this pull request?
   `DeleteBlockCommands` can be sent out of order, so even 
`DeleteBlockCommand's` transaction is smaller than container's 
deleteTransactionId, we cannot tell it's duplicate or not. we must put this may 
be committed transaction to the RocksDB.
   
   However, if we know that transaction has been executed successfully, we can 
skip these duplicate transactions. This PR caches the most recently executed 
transactions in memory. Through this cache, we can avoid duplicate transactions 
from being submitted, which can effectively reduce the waste of system 
resources.
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-8875
   
   ## How was this patch tested?
   unit tests
   


-- 
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.

To unsubscribe, e-mail: [email protected]

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