siddhantsangwan opened a new pull request, #8590: URL: https://github.com/apache/ozone/pull/8590
## What changes were proposed in this pull request? Trigger datanode heartbeat immediately when the container being written to is (close) to full, or volume is full, or container is unhealthy. The immediate heartbeat will contain close container action. - Changes made to `HddsDispatcher`. - Per-container throttling. Heartbeat will be triggered immediately once for that particular container. After that, container close container action can be sent in regular heartbeat if needed. This acts as a retry mechanism in case the immediate heartbeat is not processed/lost or any other runtime failure reason. - The volume full check is changed to `reserved - available - min free <= 0`. This fixes a bug. See https://github.com/apache/ozone/pull/8492#issuecomment-2954967269 for full context and https://github.com/apache/ozone/pull/8460 for a design discussion. The design discussion isn't fully updated yet, but both the above pull requests contain discussions about alternatives that we didn't decide to take. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-13045 ## How was this patch tested? Modified existing unit tests. -- 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-unsubscr...@ozone.apache.org For queries about this service, please contact Infrastructure at: us...@infra.apache.org --------------------------------------------------------------------- To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org For additional commands, e-mail: issues-h...@ozone.apache.org