[Question] Client's failed request

43 views
Skip to first unread message

Injun Song

unread,
Aug 17, 2017, 1:01:58 PM8/17/17
to raft-dev
Hi all,

I have a question about client interaction.































Like figure above, let's assume that client requests to servers (e.g., from S1 to S5).
In (a), the client's request is processed by S1 successfully.
In (b), the client cannot get a successful response from S1. Then, the client forgets the request.
In (d), the client can receive successful response from S2, however, unexpectedly, the client's forgotten request is processed because of leader's recovering inconsistency.

Is this right behavior? Does client interaction need any other solution?

In the second paragraph of section 8 of the paper, the authors said:
If the leader crashes, client requests will time out; clients then try again with randomly-chosen servers. 

If we don't retry it and give it up, what should the client do?
Should the client retry the request again and again?

Thank you.

Best regards,
Injun Song
Reply all
Reply to author
Forward
0 new messages