sravani-revuri opened a new pull request, #12039:
URL: https://github.com/apache/ozone/pull/12039

   ## What changes were proposed in this pull request?
   
   Add internal distributed tracing for OM timer-driven key deletion (T2) to 
link background cleanup across OM and SCM.
   
   Trace hierarchy: Create a KeyDeletingService root span, nest the 
deleteKeyBlocks RPC under it, and forward traceID to submitPurgeRequest for DB 
purges.
   Correlation attributes: Record aggregate tx ID ranges (firstTxID, lastTxID) 
in SCM.
   Introduce dynamic flag ozone.tracing.internal.enabled (default false) via 
TracingUtil.executeInternalSpan to prevent timer trace noise.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-17786
   
   
   
   ## How was this patch tested?
   
   Unit test and manual test.
   
   files created and deleted:
   ```
   bash-5.1$ for i in $(seq 1 12); do
     ozone sh key put /vol1/bucket1/key_$i /tmp/data10m
   done
   
   bash-5.1$ for i in $(seq 1 12); do
     ozone sh key delete /vol1/bucket1/key_$i
   done
   
   bash-5.1$ for i in $(seq 13 26); do   ozone sh key put /vol1/bucket1/key_$i 
/tmp/data10m; done
   
   bash-5.1$ for i in $(seq 13 26); do   ozone sh key delete 
/vol1/bucket1/key_$i; done
   ```
   <img width="1477" height="699" alt="image" 
src="https://github.com/user-attachments/assets/edc757c4-59b0-462c-99c5-11149668a334";
 />
   <img width="1477" height="699" alt="image" 
src="https://github.com/user-attachments/assets/250ecdef-e725-4a35-8b34-4fa555d593cd";
 />
   
   


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