Jyotirmoy Sinha created HDDS-9150:
-------------------------------------
Summary: Unhealthy replica not removed from the container after
re-replication
Key: HDDS-9150
URL: https://issues.apache.org/jira/browse/HDDS-9150
Project: Apache Ozone
Issue Type: Bug
Components: SCM
Reporter: Jyotirmoy Sinha
Testcase -
# Write data into an EC bucket RS-3-2-1024k policy and close the container of
the key.
# Shutdown 1 datanode from the container and then restart it after some time.
# Introduce 2 UNHEALTHY replicas in the container (one of them is the replica
restarted in step2)
# After the replicas are detected as UNHEALTHY, new replicas are introduced to
re-replicate.
# After re-replication the UNHEALTHY nodes should be removed from the container
Observation - After re-replication the UNHEALTHY replicas are not removed from
the CLOSED container.
Container in test - 26001
Initial replicas in container -
{code:java}
'quasar-osyosg-8.quasar-osyosg.root.hwx.site' - index 1
'quasar-osyosg-1.quasar-osyosg.root.hwx.site' - index 3
'quasar-osyosg-4.quasar-osyosg.root.hwx.site' - index 5
'quasar-osyosg-9.quasar-osyosg.root.hwx.site' - index 2
'quasar-osyosg-2.quasar-osyosg.root.hwx.site' - index 4{code}
Final replicas after re-replication -
{code:java}
'quasar-osyosg-8.quasar-osyosg.root.hwx.site' - index 1
'quasar-osyosg-1.quasar-osyosg.root.hwx.site' - index 3
'quasar-osyosg-9.quasar-osyosg.root.hwx.site' - index 2 - UNHEALTHY
'quasar-osyosg-4.quasar-osyosg.root.hwx.site' - index 5
'quasar-osyosg-6.quasar-osyosg.root.hwx.site' - index 4 - new replica
'quasar-osyosg-7.quasar-osyosg.root.hwx.site' - index 2 - new replica
'quasar-osyosg-2.quasar-osyosg.root.hwx.site' - index 4 - UNHEALTHY{code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]