sumitagrawl opened a new pull request, #4029: URL: https://github.com/apache/ozone/pull/4029
## What changes were proposed in this pull request? 1. RocksDB WriteBatchWithIndex support added for reading from batch buffer 2. SCM transactionBuffer is changed to use this for additional read purpose 3. SCMDeletingService will read blocks information from transaction buffer and db combined and perform deletion ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-7483 ## How was this patch tested? 1. Integration test from CI for impact 2. E2E test involving file creation and deletion, and verified that block deletion call is happening. Then verified block deletion at DN. > 2022-12-02 11:40:46,757 INFO replication.OverReplicatedProcessor (OverReplicatedProcessor.java:processAll(79)) - Processed 0 over replicated containers, failed processing 0 > **2022-12-02 11:40:48,869 INFO block.SCMBlockDeletingService (SCMBlockDeletingService.java:call(172)) - Totally added 27 blocks to be deleted for 3 datanodes, task elapsed time: 2ms** > 2022-12-02 11:40:53,346 WARN events.EventQueue (EventQueue.java:fireEvent(216)) - No event handler registered for event TypedEvent{payloadType=DatanodeDetails, name='Datanode_Command_Queue_Updated'} > 2022-12-02 11:41:46,760 INFO replication.UnderReplicatedProcessor (UnderReplicatedProcessor.java:processAll(79)) - Processed 0 under replicated containers, failed processing 0 > 2022-12-02 11:41:46,763 INFO replication.OverReplicatedProcessor (OverReplicatedProcessor.java:processAll(79)) - Processed 0 over replicated containers, failed processing 0 > **2022-12-02 11:41:48,885 INFO block.SCMBlockDeletingService (SCMBlockDeletingService.java:call(172)) - Totally added 9 blocks to be deleted for 1 datanodes, task elapsed time: 14ms** > 2022-12-02 11:41:53,338 WARN events.EventQueue (EventQueue.java:fireEvent(216)) - No event handler registered for event TypedEvent{payloadType=DatanodeDetails, name='Datanode_Command_Queue_Updated'} > Also observed data is deleted from DN node. -- 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]
