[ https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16367323#comment-16367323 ]
Mukul Kumar Singh commented on RATIS-207: ----------------------------------------- Thanks for working on this [~szetszwo]. I patch looks really good to me. Some minor comments as following. 1) I feel that BaseStateMachine#query(Message request, long minIndex) should be renamed to queryStale or something like that. 2) RaftAsyncTests:199, this should be renamed to followerCommitInfo, as this commit info is for the follower. > Implement stale read > -------------------- > > Key: RATIS-207 > URL: https://issues.apache.org/jira/browse/RATIS-207 > Project: Ratis > Issue Type: Sub-task > Reporter: Tsz Wo Nicholas Sze > Assignee: Tsz Wo Nicholas Sze > Priority: Major > Attachments: r207_20180215c.patch > > > This JIRA is to complete the stale read implementation: > - Add stale read methods to RaftClient. > - Add another query method with a minIndex parameter to StateMachine. > Note that the stale read request is served by a particular server but not the > Raft service. -- This message was sent by Atlassian JIRA (v7.6.3#76005)