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

   ## What changes were proposed in this pull request?
   
   In order to keep a track of how long the decommissioning of a datanode has 
been running for, the time at which the datanode decommissioning was triggered 
is an important piece of information that must be available. At times it has 
been seen that this can't be found easily in the logs. Storing this data in the 
metrics will be helpful and convenient. This will later be displayed as a part 
of decommission-status command being introduced through 
[HDDS-9324](https://issues.apache.org/jira/browse/HDDS-9324)
   A map of datanode's hostname to the time at which decommission was started 
for it is stored in NodeDecommissionMetrics. This metric is initialized once 
when the decommissioning is started by the NodeDecommissionManager.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-9774
   
   ## How was this patch tested?
   
   Added unit test under TestNodeDecommissionManager
   


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