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

Framework to handle missed ops and Handshake #168

Open
aravindavk opened this issue Feb 17, 2022 · 0 comments
Open

Framework to handle missed ops and Handshake #168

aravindavk opened this issue Feb 17, 2022 · 0 comments
Labels
1.0 Must have for 1.0

Comments

@aravindavk
Copy link
Member

When a user initiates the action, if one or more participating nodes are not online then some actions can continue without those nodes. Some actions strictly require all the nodes to be reachable. For example, Volume create. Unless the node is reachable, Moana doesn't know the status of Storage unit availability. So Volume create will fail if all the participating nodes are not online.

Identify the actions that don't strictly require all the nodes to be online. Examples,

  • Volume Stop
  • Volume Start
  • Volume delete
  • Volume Option set/reset
  • Snapshot operations
  • ...

Implement a framework that records the missed ops under each nodes state. When that node comes back online, the first step it should do is sync up with Mgr and get all the missed ops.

  • Mgr will not forward any request till the handshake process is complete and the Node agent confirms that it is now ready to take requests.
  • Node agent can post-process the Operations to eliminate no-ops. For example, a Volume was stopped and started again. The node agent can skip this step if the final state matches the current state.
@aravindavk aravindavk added the 1.0 Must have for 1.0 label Mar 2, 2022
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.0 Must have for 1.0
Projects
None yet
Development

No branches or pull requests

1 participant