Tsz-wo Sze created HDDS-10006:
---------------------------------
Summary: 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
{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]