ozone
ozone copied to clipboard
HDDS-6885. Allow HDDS layout features to specify their finalization requirements.
What changes were proposed in this pull request?
Allow HDDS Layout features to specify:
- How many datanodes SCM should wait to finalize before declaring finalization complete and finalizing remaining datanodes asynchronously.
- Whether the layout feature requires all pipelines to be closed while it is finalizing.
What is the link to the Apache JIRA
HDDS-6885
How was this patch tested?
- Unit test for different finalization requirement combinations added.
- Existing finalization tests should pass.
Thanks for reviewing this @kerneltime. Let's put this on hold for now while re-evaluate our approach to not closing pipelines during finalization.