Skip to content

Conversation

@sreejasahithi
Copy link
Contributor

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

How was this patch tested?

Green CI : https://github.com/sreejasahithi/ozone/actions/runs/18874231291

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant