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

How to implement hinted handoff? #12

Open
utsengar opened this issue Mar 9, 2011 · 1 comment
Open

How to implement hinted handoff? #12

utsengar opened this issue Mar 9, 2011 · 1 comment
Labels

Comments

@utsengar
Copy link
Member

utsengar commented Mar 9, 2011

  1. When to trigger the handoff?
  2. How to move the data? (all at once, sync or async?)
  3. Who to hintoff? consistent manner, next node and random node?

http://wiki.basho.com/Riak-Glossary.html

@utsengar
Copy link
Member Author

So, as per last discussion:

  1. The middle always assumes that a node is down temporarily. So, when ever a client gets timeout/null/exception from node1, it should start routing request to the next node2.
  2. You don't. The replication is taking care of keeping the data on node2's replication store. But, node2 keeps checking the status of node1, once it's up it send the diff of the new data to node1. (we can use rsync algo here)
  3. Lame question. It's always the next node. Better answer: Handoff to the nodes where you are replication. So, this answer will be depended on the ReplicationInterface.java

How are we implementing the ReplicationInterface?

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

1 participant