ozone
ozone copied to clipboard
HDDS-10409. Decommissioning of datanodes - Duplicate ozone nodes display as dead in Ozone Recon.
What changes were proposed in this pull request?
This PR change provides a new API in Recon for explicit removal of DEAD or decommissioned nodes explicitly.
Since Recon has no way to know when to stop tracking any DEAD or decommissioned node , Recon will continue to list DEAD or decommissioned nodes forever. Because sometimes DEAD or decommissioned nodes may come back and rejoin cluster. In some cases, it is being observed that some DNs being formatted and wipes out complete metadata of cluster and then recommissioned back to rejoin cluster with different UUID, so there is absolutely no way for ozone/recon to know if it is same node and to make things simpler, it is being suggested that explicit removal of DEAD or decommissioned datanode should be supported whenever admin user acknowledges to stop tracking such datanodes.
What is the link to the Apache JIRA
https://issues.apache.org/jira/browse/HDDS-10409
How was this patch tested?
Patch is tested with new integration test.