Details
-
Sub-task
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
If the DN scrubber marks a container as UNHEALTHY, the EC Replication Manager logic needs to be able to deal with it. It needs to remove the unhealthy one, and create a new copy using EC Reconstruction.
However we need to be careful to perhaps create the new replica before removing the unhealthy one. Also, if there are too many unhealthy, it would make the container unrecoverable, as there are not enough healthy replicas to try.
The LegacyReplicationManager handles this in the handleUnstableContainer method, but I wonder if we would be better handling it in the underReplicationHandler, as it is basically a form of under replication.
The logic to deal with it, is also going to be different from EC and Ratis.
Attachments
Issue Links
- links to