F64116045 opened a new pull request, #11319: URL: https://github.com/apache/ozone/pull/11319
## What changes were proposed in this pull request? `testRatisSnapshotRetention` assumes no snapshot exists before key writes. With a snapshot threshold of 1, Ratis may create `snapshot.1_0` while initializing the pipeline, causing the assertion to race with snapshot creation. This change records the last applied index before each write batch, waits for a newer snapshot, then verifies the retained snapshot count. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-16598 ## How was this patch tested? CI: -- 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]
