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/08/22 11:48:00 UTC
[jira] [Commented] (HDDS-9183) UNHEALTHY replica data not reflected in container report
[ https://issues.apache.org/jira/browse/HDDS-9183?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17757393#comment-17757393 ]
Stephen O'Donnell commented on HDDS-9183:
-----------------------------------------
The container 75001 currently has 3 healthy replicas and 1 unhealthy, but in the report it is in the under-replicated list. This suggests that the report is stale and on the next iteration of Replication Manager the container would be identified as over replicated. Remember that the report is only calculated each time the replication manager check thread runs and it is not real time.
For a Ratis container to be marked as unhealthy, all its replicas need to be unhealthy. If it has a mix of healthy and unhealthy, it will either be over or under replicated as the unhealthy should get replaced by healthy and then removed.
I believe this is working as designed.
> UNHEALTHY replica data not reflected in container report
> --------------------------------------------------------
>
> Key: HDDS-9183
> URL: https://issues.apache.org/jira/browse/HDDS-9183
> Project: Apache Ozone
> Issue Type: Bug
> Components: SCM
> Reporter: Jyotirmoy Sinha
> Priority: Major
>
> Steps :
> # Write volume/bucket/key
> # Close container of the above key
> # Simulate UNHEALTHY replica in one of the datanode of the above container
> Expected behaviour - Container report does not reflect any UNHEALTHY containers, even though container info shows the replica as unhealthy.
> Container info -
> {code:java}
> [root@quasar-irfvom-1 ~]# ozone admin container info 75001
> Container id: 75001
> Pipeline id: c61f3bf7-d58d-48b3-b29d-7752d1d17d4a
> Container State: CLOSED
> Datanodes: [b6580ff0-bad1-42b7-be1a-3f83afb27255/quasar-irfvom-9.quasar-irfvom.root.hwx.site,
> b3118812-763d-4b39-8c13-cbc4451bc41c/quasar-irfvom-6.quasar-irfvom.root.hwx.site,
> eb605638-0294-4e06-964e-2bd46652d68a/quasar-irfvom-3.quasar-irfvom.root.hwx.site,
> 9687aee1-ea03-4c87-a44e-dbae9b185ff5/quasar-irfvom-7.quasar-irfvom.root.hwx.site]
> Replicas: [State: CLOSED; ReplicaIndex: 0; Origin: 9687aee1-ea03-4c87-a44e-dbae9b185ff5; Location: b6580ff0-bad1-42b7-be1a-3f83afb27255/quasar-irfvom-9.quasar-irfvom.root.hwx.site,
> State: UNHEALTHY; ReplicaIndex: 0; Origin: b3118812-763d-4b39-8c13-cbc4451bc41c; Location: b3118812-763d-4b39-8c13-cbc4451bc41c/quasar-irfvom-6.quasar-irfvom.root.hwx.site,
> State: CLOSED; ReplicaIndex: 0; Origin: 9687aee1-ea03-4c87-a44e-dbae9b185ff5; Location: eb605638-0294-4e06-964e-2bd46652d68a/quasar-irfvom-3.quasar-irfvom.root.hwx.site,
> State: CLOSED; ReplicaIndex: 0; Origin: 9687aee1-ea03-4c87-a44e-dbae9b185ff5; Location: 9687aee1-ea03-4c87-a44e-dbae9b185ff5/quasar-irfvom-7.quasar-irfvom.root.hwx.site] {code}
> Container report -
> {code:java}
> [root@quasar-irfvom-1 ~]# ozone admin container report
> Container Summary Report generated at 2023-08-14T13:01:43Z
> ==========================================================Container State Summary
> =======================
> OPEN: 10
> CLOSING: 0
> QUASI_CLOSED: 4
> CLOSED: 95
> DELETING: 0
> DELETED: 298
> RECOVERING: 0Container Health Summary
> ========================
> UNDER_REPLICATED: 69
> MIS_REPLICATED: 0
> OVER_REPLICATED: 0
> MISSING: 11
> UNHEALTHY: 0
> EMPTY: 4
> OPEN_UNHEALTHY: 0
> QUASI_CLOSED_STUCK: 0First 100 UNDER_REPLICATED containers:
> #1001, #2003, #4001, #4002, #4004, #4005, #5002, #6006, #6009, #7003, #7006, #9004, #9006, #10002, #11001, #14004, #16004, #16007, #17002, #20003, #21001, #23003, #23008, #24005, #24008, #24010, #24012, #25003, #26002, #30004, #30007, #33001, #34004, #36002, #36007, #37002, #38003, #38004, #39002, #43001, #43003, #43004, #43008, #44003, #44004, #45003, #46001, #46002, #48001, #48002, #52001, #52003, #53002, #53003, #56007, #59001, #60001, #61004, #61006, #62003, #65001, #69002, #70004, #71001, #72001, #73001, #74003, #74004, #75001First 100 MISSING containers:
> #6010, #7004, #7005, #24002, #24003, #24004, #28001, #31001, #34003, #54001, #61003First 100 EMPTY containers:
> #52005, #54003, #55001, #55002
> {code}
>
--
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