[ 
https://issues.apache.org/jira/browse/HDDS-15637?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

ASF GitHub Bot updated HDDS-15637:
----------------------------------
    Labels: pull-request-available  (was: )

> Container Replica Debugger Tool Improvements and minor bug fixes
> ----------------------------------------------------------------
>
>                 Key: HDDS-15637
>                 URL: https://issues.apache.org/jira/browse/HDDS-15637
>             Project: Apache Ozone
>          Issue Type: Improvement
>            Reporter: Sreeja
>            Assignee: Sreeja
>            Priority: Major
>              Labels: pull-request-available
>
> Following improvements and minor bug fixes need to be done for the tool.
> 1. Proper Database path validation
> currently users could pass a non-existent DB file path and fail later with 
> less clear errors and with an empty db file crated in the current working 
> directory.
> 2. Skipping invalid log files and make log filename parsing more robust using 
> regex 
> When a file is skipped because it is not a container log, the process should 
> not get stuck waiting on it. We should do latch.countDown() in such cases to 
> prevent the process to get stuck.
> Ensure that only valid container log files are processed and unrelated files 
> present in the directory are ignored.
> 3.Health filter query fixes
> simplify and improve Over/under-replicated and unhealthy container sql 
> queries.
> Rewrite SQL to count replicas correctly:
> Under-replicated: healthy replicas (not UNHEALTHY/DELETED) < replication 
> factor
> Over-replicated: total active replicas > replication factor, and healthy 
> replicas >= replication factor
> Unhealthy: all active replicas are UNHEALTHY
> 4. Add per-state replica summary to container analysis
> Enhance the info sub-command to display a summary of replica states after 
> container analysis.
> Include counts for states such as `CLOSED`, `QUASI_CLOSED`, `CLOSING`, 
> `OPEN`, `DELETED`, and `UNHEALTHY` to provide a quick overview of replica 
> distribution.
> 5. Add result limiting support to duplicate-open command
> Introduce options to limit the number of results returned by the 
> duplicate-open sub-command.
> Provide an option to display all matching results when required.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to