errose28 opened a new pull request, #8402:
URL: https://github.com/apache/ozone/pull/8402

   ## What changes were proposed in this pull request?
   
   Create a unit test framework that writes container data locally, and mocks 
an ozone client to operate directly on those containers. This will allow us to 
test multiple failure combinations across replicas using container scan and 
repair while running much faster than a miniozone integration test.
   
   The major components of this change are:
   - Migrate a test from `TestKeyValueHandler` into its own test class for unit 
testing scan and repair across replicas.
   - Numerous fixes to the container repair code to fix bugs exposed by this 
test.
   - Logging improvements to track reconciliation progress.
   
   As part of the review, it will be helpful to pull #7490, which also 
incorporates this change, and run the tests there where they will pass with the 
scanner changes. Inspect the new log messages to make sure that they help 
follow what reconciliation is doing in each of these situations. The 10 missing 
blocks + 5 corrupt chunks case is one of the most involved tests to inspect the 
output from.
   
   ## What is the link to the Apache JIRA
   
   HDDS-12980
   
   ## How was this patch tested?
   
   The tests depend on HDDS-10374/#7490 to run. For now the tests are ignored 
to split up the review of HDDS-10374/#7490. I have also pushed the test to that 
change and they are passing. Once this PR is merged we can start running the 
tests in HDDS-10374/#7490.
   


-- 
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: issues-unsubscr...@ozone.apache.org

For queries about this service, please contact Infrastructure at:
us...@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscr...@ozone.apache.org
For additional commands, e-mail: issues-h...@ozone.apache.org

Reply via email to