dengziming opened a new pull request #10909: URL: https://github.com/apache/kafka/pull/10909
*More detailed description of your change* It's not very convenient to return Long for `RaftClient.scheduleAppend`, in this PR we add a `RaftAppendResult` class to replace it. I also found that we lack logic on append failure, for example, the `ControllerWriteEvent` won't check the result of `raftClient.scheduleAppend`, this should be fixed in a future PR. *Summary of testing strategy (including rationale)* QA -- 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. For queries about this service, please contact Infrastructure at: us...@infra.apache.org