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

   ## What changes were proposed in this pull request?
   Currently the commands that go through the replication supervisor are 
getting the name of the metrics from the task to retrieve from the supervisor, 
and this may be null if no task has been submitted yet. This results in many 
null checks in the code. 
   To solve this the the metrics name and description can be defined as static 
constants by the task so they can be retrieved directly without null checks.
   
   ## What is the link to the Apache JIRA
   
   [HDDS-12133](https://issues.apache.org/jira/browse/HDDS-12133)
   
   ## How was this patch tested?
   
   Green CI : https://github.com/sreejasahithi/ozone/actions/runs/18874231291
   


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