lugency opened a new pull request, #1696: URL: https://github.com/apache/ratis/pull/1696
## What changes were proposed in this pull request? `FileStoreStateMachine#startTransaction(LogEntryProto, RaftPeerRole)` parses the log data and sets the parsed request on the transaction context builder. The log-entry branch of `TransactionContext.Builder#build()` drops that value, so `write()`, `read()`, and `applyTransaction()` fall back to parsing the log data again. - Create the transaction context with `super.startTransaction(entry, role)` and set the parsed request on the returned context so it can be reused. ## What is the link to the Apache JIRA [RATIS-2816](https://issues.apache.org/jira/browse/RATIS-2816) ## How was this patch tested? Tested locally. - `TestFileStoreWithGrpc` - `TestFileStoreAsyncWithGrpc` - `TestFileStoreStreamingWithGrpcCluster` -- This is an automated message from the Apache Git Service. To respond to the message, please log on to GitHub and use the URL above to go to the specific comment. To unsubscribe, e-mail: [email protected] For queries about this service, please contact Infrastructure at: [email protected]
