Hibernating Rhinos Ltd
Oren Eini l CEO l Mobile: + 972-52-548-6969
Office: +972-4-622-7811 l Fax: +972-153-4-622-7811
The way i'm implementing RPCs means that each raft instance will receive all RPCs no matter what state they are in. I don't think this is intended behavior for raft, but I have a good reason for this, it's an implementation detail I won't go into unless it becomes relevant. My question is, should I react to messages that are not intended for my specific instance? For example, say server B is a follower in Term 2 and receives a Replication response RPC intended for a leader in term 3. Should I immediately transition server B to a follower in term 3 since it has inspected an RPC which has a future term even though it wasn't directed to server B? Or should server B ignore all message types that it should not receive (vote responses, replication responses) and wait for the Leader in term 3 to introduce itself with a replication heartbeat?
--
You received this message because you are subscribed to the Google Groups "raft-dev" group.
To unsubscribe from this group and stop receiving emails from it, send an email to raft-dev+u...@googlegroups.com.
For more options, visit https://groups.google.com/d/optout.
Cant you use a separate topic per node?
You received this message because you are subscribed to a topic in the Google Groups "raft-dev" group.
To unsubscribe from this topic, visit https://groups.google.com/d/topic/raft-dev/N0jwTIBE89M/unsubscribe.
To unsubscribe from this group and all its topics, send an email to raft-dev+u...@googlegroups.com.
So I think the way i'm going to use rabbit is each instance will create it's queue with the following bindings to an exchange I'm only using for raft messaging:- raft.heartbeat#- raft.voterequest#- raft.heartbeatresponse.[myinstanceid]#- raft.voteresponse.[myinstanceid]#