-
Notifications
You must be signed in to change notification settings - Fork 249
Static reader node replication #113
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
Open
ygina
wants to merge
46
commits into
master
Choose a base branch
from
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
Changes from all commits
Commits
Show all changes
46 commits
Select commit
Hold shift + click to select a range
c83cc07
Create 3 replicas per reader node in migration
ygina 3716541
Remove reader node replicas in apply recipe
ygina f421f9c
Hardcode number of expected nodes to pass tests
ygina fcfa832
Consider all replicas when returning a view
ygina 7cb0b2d
Always allocate replicas in different domains
ygina ec22c1c
Remove replicas on different domains
ygina d9dd041
Cache readers in node
ygina cc73d86
Ability to obtain view to any replica
ygina 70f6ccb
Assign readers a replica index
ygina 119a140
Assign replica domains to different workers maybe
ygina f995181
Refactor local address assignment
ygina db1afbb
Refactor round robin worker assignment method
ygina 1534991
Put the first reader in a separate domain as well
ygina a35748b
Assign replicas and non-replicas to workers separately
ygina 04bd3f7
Clean up assignment code a bunch, though it still panics sometimes
ygina 4e7b296
Merge branch 'master' into replication
ygina 837b194
Fix already mutable borrowed panic
ygina 1354a38
Merge branch 'master' into replication
ygina 85c6278
Replica is not in distinct domain if there is only 1
ygina cb1cf8b
Logging and clarifying comments
ygina 6e54552
Test to query any replica
ygina 8853aee
View api returns view replicas in round robin
ygina 2815d06
Merge branch 'master' into replication
ygina be0fbc6
Merge branch 'master' into replication
ygina 77913d7
CLI option to update replica count on the fly
ygina 576346f
Logging for view builders
ygina 10c4885
Actually assign replicas to different workers
ygina 2ef42fb
Shards should be on separate workers again
ygina b69c3c0
CLI option to set number of pool threads
ygina 0c2bf3e
Revert unnecessary refactor to controller view
ygina 57d8804
Set default replicas to 1 when not a test, otherwise 3
ygina 692ce0a
Edit comments in existing tests to reflect counting replicas
ygina eeecc12
Propagate reader node name to view, integration test for replica writes
ygina b9b7325
Documented place_domain, some minor Rust and whitespace things
ygina f8749fd
Small string fix
ygina 0ad9f62
Simplify commit(), no logical changes
ygina b2bef11
Name all readers with replica index in the suffix
ygina 94c3225
Clarify language regarding the reader replication factor
ygina 7a577c2
Naming, comments, and Rust things
ygina aa7435b
Store reader index instead of name in view
ygina 232453f
Simplify query node removal with assumption that query node has exact…
ygina 85998f2
More comments
ygina d7c93f5
It is ok to remove leaf nodes with no children
ygina 8b0fba5
Fix localsoup
ygina f68ca92
Merge branch 'master' into replication
ygina 5cb51d2
Stylistic changes for remove_leaf
ygina File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
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
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
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
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
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
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.