You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
In frontend.services.FIFOOrderSys, code for adding requests to queue, sending requests to leader, removing requests from queue.
In replica1.services.impl.FIFOBroadcastSys:
~ code for broadcasting request to secondary RM's
~ method setSecServerDetails(List<String[]> secServerDetails): secServerDetails will hold a list of arrays (each array will have 2 elements: hostname and port number). These arrays will give details of the secondary RM's when a new leader is elected.
~ method getSecServerDetails: to fetch the secondary RM details. This should be called before EVERY broadcast to get the latest RM details.
~ setSecServerDetails and getSecServerDetails should have their code blocks synchronized. Check replica1.services.impl.ReplicaMgrService.setIsLeader() and getIsLeader() for reference.
Same for replica2 and replica3.
The text was updated successfully, but these errors were encountered:
In frontend.services.FIFOOrderSys, code for adding requests to queue, sending requests to leader, removing requests from queue.
In replica1.services.impl.FIFOBroadcastSys:
~ code for broadcasting request to secondary RM's
~ method setSecServerDetails(List<String[]> secServerDetails): secServerDetails will hold a list of arrays (each array will have 2 elements: hostname and port number). These arrays will give details of the secondary RM's when a new leader is elected.
~ method getSecServerDetails: to fetch the secondary RM details. This should be called before EVERY broadcast to get the latest RM details.
~ setSecServerDetails and getSecServerDetails should have their code blocks synchronized. Check replica1.services.impl.ReplicaMgrService.setIsLeader() and getIsLeader() for reference.
Same for replica2 and replica3.
The text was updated successfully, but these errors were encountered: