You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Stephen O'Donnell (Jira)" <ji...@apache.org> on 2023/11/20 14:45:00 UTC
[jira] [Created] (HDDS-9729) Provide API to check a container via Replication Manager
Stephen O'Donnell created HDDS-9729:
---------------------------------------
Summary: Provide API to check a container via Replication Manager
Key: HDDS-9729
URL: https://issues.apache.org/jira/browse/HDDS-9729
Project: Apache Ozone
Issue Type: Sub-task
Components: SCM
Reporter: Stephen O'Donnell
Assignee: Stephen O'Donnell
Replication Manager has increasingly complex logic used to check if a container is under or over replicated, unhealthy etc.
Other parts of the system, such as Decommission and Recon also need to know if a set of containers are healthy or not, but they currently have their own logic to do this, which can result in a mis-match in health states between RM and Recon or decommission.
This PR exposes the container check chain used by RM to check containers, and allows it to be called in a read-only way, avoiding any commands being sent.
The results of the call populate a ReplicationManagerReport instance passed into the command, which allows the call to check the state of containers checked.
In a later PR, we plan to integrate the Decommission Monitor with this API so it does not have any of its own logic to determine if a container is under-replicated or not.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org