This repository was archived by the owner on Jan 20, 2026. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 20
Nr dynamic replication #56
Open
MarcPaquette
wants to merge
12
commits into
master
Choose a base branch
from
nr-dymanic-replication
base: master
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Conversation
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
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.
Contributor
|
Had a first look, and it looks great! I think there are some minor things to iron out:
|
Author
|
Thanks for the comments. I'll work on addressing your feedback! |
2695e6b to
c5b4ea4
Compare
Sign up for free
to subscribe to this conversation on GitHub.
Already have an account?
Sign in.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
This addresses issue 52.
We've added
add_replicaandremove_replicato theNodeReplicated. Thread context is held within the replica . The number of new replicas are limited viaMAX_REPLICAS_PER_LOG.