Tsz-wo Sze created HDDS-10026:
---------------------------------

             Summary: Remove applyTransactionMap and ratisTransactionMap from 
OzoneManagerStateMachine
                 Key: HDDS-10026
                 URL: https://issues.apache.org/jira/browse/HDDS-10026
             Project: Apache Ozone
          Issue Type: Sub-task
          Components: OM HA
            Reporter: Tsz-wo Sze
            Assignee: Tsz-wo Sze


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.



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to