[
https://issues.apache.org/jira/browse/RATIS-207?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=16368439#comment-16368439
]
Mukul Kumar Singh commented on RATIS-207:
-----------------------------------------
Thanks for updating the patch [~szetszwo]. I tried running the unit test and
TestRaftAsyncWithGrpc failed be
{code}
Tests run: 5, Failures: 1, Errors: 0, Skipped: 0, Time elapsed: 16.732 sec <<<
FAILURE! - in org.apache.ratis.grpc.TestRaftAsyncWithGrpc
testStaleReadAsync(org.apache.ratis.grpc.TestRaftAsyncWithGrpc) Time elapsed:
2.156 sec <<< FAILURE!
java.lang.AssertionError: expected:<class java.lang.IndexOutOfBoundsException>
but was:<class org.apache.ratis.protocol.StaleReadException>
{code}
> 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_20180218.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)