prashantpogde commented on PR #3980: URL: https://github.com/apache/ozone/pull/3980#issuecomment-1457463142
Can we write some test that can exercise these code paths end to end ? Perhaps mimic this with an integration test. We may have to tune down the RATIS log size to very small number of transaction so these code paths do get exercised. 1) Create a OM HA mini ozone cluster 2) pause one of the OM nodes 3) continue creating multiple transactions and multiple snapshots. 4) after a while, bring up the paused OM node and make sure that it has identical snapshots + active OS data as the leader OM. 5) Step 3 should be configurable to create even thousands of snapshots. In our local build, we should be able to test this thoroughly. -- 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]
