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

   ## What changes were proposed in this pull request?
   
   The deleted container count is being fetched to subtract it from the total 
container count. This is because the count of deleted containers is not 
relevant for the current state of the cluster, and including it in the total 
container count would provide misleading information about the number of 
available containers. Therefore, it is necessary to subtract the deleted 
container count from the total container count to obtain the actual number of 
available containers. This adjusted container count is then used to construct 
the ClusterStateResponse that is returned by the getClusterState() method.
   
   ## What is the link to the Apache JIRA
   
   https://issues.apache.org/jira/browse/HDDS-8127
   
   ## How was this patch tested?
   
   Tests it manually by deleting containers from the cluster 


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