-
Notifications
You must be signed in to change notification settings - Fork 21
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
Nr dynamic replication #56
base: master
Are you sure you want to change the base?
Conversation
Implement add_replica to dynamically add replicas to a Node Replicated data structure.
Added a remove_replica to NR. Refactored `replicas` `lmasks` and `ltails` to use hashmaps for better add/remove semantics.
…cation into nr-dymanic-replication
Thread registration and deregistration remains outstanding and further works needs to be done.
Had a first look, and it looks great! I think there are some minor things to iron out:
|
Thanks for the comments. I'll work on addressing your feedback! |
2695e6b
to
c5b4ea4
Compare
This addresses issue 52.
We've added
add_replica
andremove_replica
to theNodeReplicated
. Thread context is held within the replica . The number of new replicas are limited viaMAX_REPLICAS_PER_LOG
.