[ 
https://issues.apache.org/jira/browse/HDDS-10026?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Attila Doroszlai resolved HDDS-10026.
-------------------------------------
    Fix Version/s: 1.5.0
       Resolution: Implemented

> 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
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 1.5.0
>
>
> 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