Details
-
Bug
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
Prior to HDDS-5032, if the same container is found on multiple volumes, then the second volume to load it fails the entire volume.
After HDDS-5032, the exception is caught so the volume doesn't fail, but depending on which container is loaded faster, either one of the replicas could win. Over several restarts, the container on either volume could be the one loaded, potentially resulting in inconsistencies.
This change catches the error, and then removes one of the duplicates based on the BCSID. The container with the largest BCSID is the one kept, while the other is removed.
This will free the disk space taken by the duplicate container, and also avoid the chance of a different copy being loaded on each restart.
Attachments
Issue Links
- links to