Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

FIFO System To-Do #3

Open
jyotsana-gupta opened this issue Jul 26, 2017 · 0 comments
Open

FIFO System To-Do #3

jyotsana-gupta opened this issue Jul 26, 2017 · 0 comments
Assignees

Comments

@jyotsana-gupta
Copy link
Collaborator

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.

@jyotsana-gupta jyotsana-gupta self-assigned this Aug 4, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant