[ 
https://issues.apache.org/jira/browse/RATIS-2165?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Tsz-wo Sze resolved RATIS-2165.
-------------------------------
    Fix Version/s: 3.2.0
       Resolution: Fixed

The pull request is now merged.  Thanks, [~tohsakarin__]!

> Do not include RaftClientRequest Message in ReadIndexRequest
> ------------------------------------------------------------
>
>                 Key: RATIS-2165
>                 URL: https://issues.apache.org/jira/browse/RATIS-2165
>             Project: Ratis
>          Issue Type: Improvement
>          Components: Linearizable Read
>            Reporter: yuuka
>            Assignee: yuuka
>            Priority: Major
>             Fix For: 3.2.0
>
>         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
>
>          Time Spent: 20m
>  Remaining Estimate: 0h
>
> 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)

Reply via email to