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

   ## What changes were proposed in this pull request?
   This ozone debug CLI command helps to identify containers which were opened 
more than the required number by tracking the first three "OPEN" states and 
flag any subsequent "OPEN" state as problematic if it occurs on the same 
datanode or on a different datanode after these initial events.
   
   This command provides the Container ID of such containers.
   
   Command is as follows:
   `ozone debug log container --db=<path to db> list --duplicate-open=true`
   
   sample output for the command:
   ```
   Container ID: 12377064
   Container ID: 12377223
   Container ID: 12377631
   Container ID: 12377904
   Container ID: 12378161
   Container ID: 12378352
   Container ID: 12378789
   Container ID: 12379337
   Container ID: 12379489
   Container ID: 12380526
   Container ID: 12380898
   Container ID: 12642718
   Container ID: 12644806
   .
   .
   .
   .
   Total containers that might have duplicate OPEN state : 1579
   ```
   
   ## What is the link to the Apache JIRA
   https://issues.apache.org/jira/browse/HDDS-12776
   
   ## How was this patch tested?
   Below is the workflow link that passed successfully:
   https://github.com/sreejasahithi/ozone/actions/runs/14875062929


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

Reply via email to