devmadhuu opened a new pull request, #5645: URL: https://github.com/apache/ozone/pull/5645
## What changes were proposed in this pull request? This PR addresses the timing/sync issue between two separate indexes: ``` lastAppliedTermIndex -- committed index where apply transaction is completed Ratis snapshot index for OM - its from DB which represent last index present in DB, and when snapshot is taken, it takes this DB one ``` Both indexes are mostly same however due to DoubleBuffer, these 2 indexes may give different values sometimes with fraction of time difference when these two called upon. ## What is the link to the Apache JIRA https://issues.apache.org/jira/browse/HDDS-9706 ## How was this patch tested? This patch is tested by running multiple splits and iterations. Here is the green CI [link](https://github.com/devmadhuu/ozone/actions/runs/6931437125/job/18876158682) with 3 job runs repeatedly on the patch in different test branch. -- 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]
