You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "sarvekshayr (via GitHub)" <gi...@apache.org> on 2025/12/02 14:23:18 UTC

[PR] HDDS-14048. Optimise NodesOutOfSpace metric logic [ozone]

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

   ## What changes were proposed in this pull request?
   `SCMNodeManager#hasContainerWithSpace` is computation intensive and `NodesOutOfSpace` metric is fetched every 30 seconds. The logic has been optimised to check volume level statistics instead, if any volume has committed space ≥ block size, the DN is considered writable. This requires only a small loop over the DN’s volumes (~15), making it significantly more efficient.
   
   ## What is the link to the Apache JIRA
   [HDDS-14048](https://issues.apache.org/jira/browse/HDDS-14048)
   
   ## How was this patch tested?
   CI: https://github.com/sarvekshayr/ozone/actions/runs/19853937600
   


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-14048. Optimise NodesOutOfSpace metric logic [ozone]

Posted by "sarvekshayr (via GitHub)" <gi...@apache.org>.
sarvekshayr commented on PR #9418:
URL: https://github.com/apache/ozone/pull/9418#issuecomment-3602317173

   @sumitagrawl please review this PR.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-14048. Optimise NodesOutOfSpace metric logic [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai commented on PR #9418:
URL: https://github.com/apache/ozone/pull/9418#issuecomment-3615690831

   Thanks @sarvekshayr for the patch, @sumitagrawl for the review.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-14048. Optimise NodesOutOfSpace metric logic [ozone]

Posted by "adoroszlai (via GitHub)" <gi...@apache.org>.
adoroszlai merged PR #9418:
URL: https://github.com/apache/ozone/pull/9418


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org