xichen01 opened a new pull request, #10566: URL: https://github.com/apache/ozone/pull/10566
## What changes were proposed in this pull request? Reduce long-tail latency of OM allocateBlock When SCM handles `DeleteScmKeyBlocks` requests, `AllocateScmBlock` can see high tail latency because `SequenceIdGenerator#getNextId` waits for `SCMStateMachine` to finish applying DeleteScmKeyBlocks's `DeletedBlockLogStateManagerImpl#addTransactionsToDB`. Profiling shows a large part of `DeletedBlockLogStateManagerImpl#addTransactionsToDB` time is spent updating SCM-side `ContainerInfo#deleteTransactionId`. This field is not used by current SCM business logic, while DN-side delete transaction tracking is maintained independently. This commit removes the SCM-side `ContainerInfo#deleteTransactionId` update from `addTransactionsToDB` to reduce unnecessary StateMachine apply work and improve write tail latency. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-15634 ## How was this patch tested? existing test https://github.com/xichen01/ozone/actions/runs/27909174625 -- 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]
