You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2023/12/23 17:53:00 UTC
[jira] [Updated] (HDDS-10006) Pass TransactionInfo in OzoneManagerRequestHandler.handleWriteRequest
[ https://issues.apache.org/jira/browse/HDDS-10006?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel ]
ASF GitHub Bot updated HDDS-10006:
----------------------------------
Labels: pull-request-available (was: )
> Pass TransactionInfo in OzoneManagerRequestHandler.handleWriteRequest
> ---------------------------------------------------------------------
>
> Key: HDDS-10006
> URL: https://issues.apache.org/jira/browse/HDDS-10006
> Project: Apache Ozone
> Issue Type: Improvement
> 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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org