Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
Description
It seems that in RaftServerImpl.sendReadIndexAsync, we do not need to serialize the message of the request, because we only use request.getClientId ().
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