[
https://issues.apache.org/jira/browse/HDDS-10006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
Tsz-wo Sze updated HDDS-10006:
------------------------------
Parent: HDDS-10019
Issue Type: Sub-task (was: Improvement)
> Pass TransactionInfo in OzoneManagerRequestHandler.handleWriteRequest
> ---------------------------------------------------------------------
>
> Key: HDDS-10006
> URL: https://issues.apache.org/jira/browse/HDDS-10006
> Project: Apache Ozone
> Issue Type: Sub-task
> Components: OM HA
> Reporter: Tsz-wo Sze
> Assignee: Tsz-wo Sze
> Priority: Major
> Labels: pull-request-available
>
> {code}
> //OzoneManagerRequestHandler
> public OMClientResponse handleWriteRequest(OMRequest omRequest,
> long transactionLogIndex) throws IOException {
> {code}
> In OzoneManagerRequestHandler.handleWriteRequest, only transactionLogIndex is
> passed without the term. However, it uses a Map/Function to get the term
> later on. We should pass TransactionInfo, which includes both term and index
> {code}
> //OzoneManagerDoubleBuffer
> Function<Long, Long> indexToTerm
> {code}
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]