szetszwo opened a new pull request, #5891:
URL: https://github.com/apache/ozone/pull/5891
## What changes were proposed in this pull request?
The `applyTransactionMap` and the `ratisTransactionMap` in
`OzoneManagerStateMachine` can be replaced by two TermIndex values:
- lastApplied (implemented by BaseStateMachine)
* keep track of the last flushed TermIndex from OzoneManagerDoubleBuffer.
- lastNotified (a new field in OzoneManagerStateMachine)
* keep track the last term, index passed from notifyTermIndexUpdated(..).
In `takeSnapshot()`, write the max(lastApplied, lastNotified) to db.
## What is the link to the Apache JIRA
HDDS-10026
## How was this patch tested?
Updating existing tests.
--
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]