smengcl opened a new pull request, #4642: URL: https://github.com/apache/ozone/pull/4642
## What changes were proposed in this pull request? Add an option to control whether Ozone filesystem snapshot feature is enabled or not on the OM side. 1. Add this new OM config. 2. Enable it by default (to avoid disruption with on-going dev work). 3. If disabled, all snapshot related OM background tasks would not run, all snapshot feature RPCs should be gracefully rejected. 4. Snapshot related integration tests, UTs and acceptance tests would have a line to force-enable the snapshot feature for testing so those tests would still run and pass. NOTE: In this draft, 1-2 are done, 3-4 are partially done to demonstrate the intended changes but not fully done yet. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-8166 ## How was this patch tested? - [ ] All existing tests shall pass. - [ ] Add new tests or parameterize existing ones to validate that disabling the feature via config would correctly reject the requests and that snapshot-specific background jobs are not run. Similar idea but not quite the same impl as the test additions in HDDS-7772. -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected] --------------------------------------------------------------------- To unsubscribe, e-mail: [email protected] For additional commands, e-mail: [email protected]
