yuuka created RATIS-2165:
----------------------------
Summary: Discussion on canceling transmission of
RaftClientRequest. Message in RaftServerImpl.sendReadIndexAsync to further
optimize transmission efficiency
Key: RATIS-2165
URL: https://issues.apache.org/jira/browse/RATIS-2165
Project: Ratis
Issue Type: Improvement
Reporter: yuuka
Attachments: image-2024-09-27-10-30-12-499.png,
image-2024-09-27-10-31-07-635.png, image-2024-09-27-10-31-17-774.png,
image-2024-09-27-10-31-21-531.png
It seems that in RaftServerImpl.sendReadIndexAsync, we do not need to serialize
the message of the request, because we only use request.getClientId ().
!image-2024-09-27-10-31-17-774.png!
!image-2024-09-27-10-31-21-531.png!
For this situation, we can provide a setMessage interface that is set to null
every time sendReadAsync is called.
Or we can regenerate a RaftClientRequest without Message.
Whether this has good returns can be further discussed
--
This message was sent by Atlassian Jira
(v8.20.10#820010)