This repository has been archived by the owner on Feb 20, 2023. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 501
Synchronous Replication #1472
Merged
Merged
Synchronous Replication #1472
Changes from 1 commit
Commits
Show all changes
103 commits
Select commit
Hold shift + click to select a range
641bf6c
Checkpoint. New replication manager.
lmwnshn c27168f
tmp unpush
lmwnshn 3854236
Checkpoint. Fix messenger_test.
lmwnshn b47569b
Refactor the Messenger with Matt's suggestion.
lmwnshn 6e13413
Checkpoint.
lmwnshn 0de754e
Checkpoint. Replication locally via noisepage. Pretty sure tests brok…
lmwnshn afb1280
Merge branch 'master' of github.com:cmu-db/noisepage into replication
lmwnshn 5584bd4
Switch to sanctionedsharedptr for logger.
lmwnshn ea976b4
Nuke dead code.
lmwnshn 26c2e87
Eliminate potential race in messenger_test.
lmwnshn 80f7767
Checkpoint.
lmwnshn 375fb14
Checkpoint.
lmwnshn 0d4a470
Checkpoint.
lmwnshn 410cd96
Checkpoint.
lmwnshn 73cf888
Add Tianlei's ReplicationLogProvider port.
tpan496 ef64dd5
Add support for simple replication.
lmwnshn bd407cb
Checkpoint. Slight progress. ty matt
lmwnshn 5ca79ba
Fix the replica not returning serialized buffers to the empty buffer …
lmwnshn 4d83efd
unpush me later.
lmwnshn 380abb4
Merge branch 'master' of github.com:cmu-db/noisepage into replication
lmwnshn ed0c6bd
Checkpoint.
lmwnshn e9803b6
Checkpoint. Add dummy replication_get_last_record_id builtin.
lmwnshn 0acb22d
Checkpoint. Nuke the ITP legacy stuff. Hook up replication manager an…
lmwnshn 4739b65
Checkpoint. Shutdown, except we had to add some DBMain stuff that I s…
lmwnshn 7d7d2ba
Merge branch 'master' of github.com:cmu-db/noisepage into replication
lmwnshn 730f62c
Checkpoint. recovery_test is failing?
lmwnshn 3bf0b14
Minor cleanup.
lmwnshn f17cbe8
Simplify cleanup logic.
lmwnshn e6a738f
Fix RecoveryManager race-y logic. Add documentation and warnings.
lmwnshn a458409
Merge branch 'master' into replication
lmwnshn dde1ef6
Documentation.
lmwnshn 6c61675
add retention policy
tpan496 72fcf94
Checkpoint. Doxygen fixes and reverting to changes that I'm not comfo…
lmwnshn 95f2aa4
Merge branch 'master' into replication
lmwnshn 9ec03e4
Format.
lmwnshn 8741991
Merge branch 'master' of github.com:cmu-db/noisepage into replication
lmwnshn 63fae63
Small fix after removing unused variable.
lmwnshn 05b0d56
Clang-tidy doesn't like excessive padding.
lmwnshn 3e04d56
Update db_main comments.
lmwnshn 8336a14
Update settings comment.
lmwnshn 0d26d03
Update RecoveryManager comment.
lmwnshn 2521f90
Move TODO around.
lmwnshn b939e0e
Update comment.
lmwnshn 85d8908
Add explicit.
lmwnshn 03f468b
Fix parameter naming. I swear I did this already.
lmwnshn edfcff9
Fix transaction_manager weirdness. Still a bit iffy on this...
lmwnshn 8d2c807
Checkpoint.
lmwnshn 861cf5f
Checkpoint.
lmwnshn 1b5af2a
Checkpoint.
lmwnshn f5ef916
gitignore...
lmwnshn 99dc705
Checkpoint.
lmwnshn 51e2ffa
Fix mini runners.
lmwnshn 4d9ff46
Merge branch 'master' into replication
lmwnshn 507df4c
Merge branch 'master' of github.com:cmu-db/noisepage into replication
lmwnshn 0c86727
Merge branch 'replication' of github.com:lmwnshn/noisepage into repli…
lmwnshn 23d3fda
Merge branch 'master' of github.com:cmu-db/noisepage into replication
lmwnshn 5e014f1
Add ninja job pools. Num logical cores = compile pool + link pool (1)…
lmwnshn c371699
Merge branch 'ninja_link' into replication
lmwnshn 554961e
Merge branch 'master' into replication
lmwnshn a2e48db
Store Messenger IPC locally instead of in /tmp. Also delete IPC file …
lmwnshn 8cd8c57
Don't hang if the other node dies in sync replication.
lmwnshn 0c515a6
Merge branch 'master' of github.com:cmu-db/noisepage into replication
lmwnshn b568f14
Format.
lmwnshn 9430157
Fix bplustree.h redefined constant shared with bwtree.h.
lmwnshn e040415
Merge branch 'bplustree_fix' into replication
lmwnshn 3c81a4f
Lint.
lmwnshn 3a1684f
Merge branch 'bplustree_fix' into replication
lmwnshn 86b2a11
Add logging for enabling/disabling replication.
lmwnshn 1042ae7
Fix bug in replica_sync.
lmwnshn 47a804e
Add (what I hope is) the description of the right message in Replicat…
lmwnshn 6fa6ec2
Remove dead code.
lmwnshn cf9e5b3
Refactor PrepareForSerialization.
lmwnshn 2b56dee
Remove dead message.
lmwnshn 612d3e5
Remove superfluous unlock.
lmwnshn 107053f
Remove debug logging.
lmwnshn 0e05526
Checkpoint. First pass at separating out primary/replica logic in Rep…
lmwnshn 5e6b544
Checkpoint. Add documentation, including for the BufferedLogWriter mo…
lmwnshn 6414138
Refactor json message keys into a ReplicateBufferMessage container cl…
lmwnshn 5c90e42
Merge branch 'master' of github.com:cmu-db/noisepage into replication
lmwnshn d24cf2c
Add warning comment on message delivery failure.
lmwnshn 146c903
Fix clang-tidy.
lmwnshn e89354e
Stash the "primary" constant into the PrimaryReplicationManager.
lmwnshn e3547bc
Move the replication test to the top.
lmwnshn caba0b1
Try switching localhost to 127.0.0.1.
lmwnshn acc2cda
Merge branch 'master' into replication
lmwnshn 8142da4
Add top information to print_docker_info.
lmwnshn 61d9aad
Try disabling ccache.
lmwnshn 04ffc5d
Revert "Try disabling ccache."
lmwnshn 7a13faf
Revert "Stash the "primary" constant into the PrimaryReplicationManag…
lmwnshn 34685bc
Sin by sleeping. CI...
lmwnshn 466deee
Try fixing a potential race between ListenForConnection() and the con…
lmwnshn 851502a
blyat
lmwnshn 4a9936e
Nope. Didn't work. Back to having a 30 second sleep.
lmwnshn e027b92
It might have been the SNDRCV timeout of 1 second. Try bumping that u…
lmwnshn f6627fa
I AM A MONKEY OF THE HIGHEST ORDER.
lmwnshn 4d24ade
Avoid signalling cvars if there are no routers to add.
lmwnshn bd80a73
Merge branch 'master' into replication
mbutrovich 649f051
Switch back to the model where the Messenger is responsible for invok…
lmwnshn 4560cf5
Merge remote-tracking branch 'origin/replication' into replication
lmwnshn fcba2ca
Rearchitect the server loop structure to rely on key_message_type ins…
lmwnshn e85036f
Add some messenger documentation.
lmwnshn 8898968
Add documentation on why routers are added with a level of indirection.
lmwnshn 9868193
Delete dead comment.
lmwnshn 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
Merge branch 'master' of github.com:cmu-db/noisepage into replication
- Loading branch information
commit afb1280a020e1980d2dc0b8c1e289f34299f4421
There are no files selected for viewing
This file contains 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 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 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 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 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 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 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
You are viewing a condensed version of this merge commit. You can view the full changes here.
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.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
This is my opinion, so feel free to ignore it if you disagree. I guess this was already here, but it makes me a little nervous seeing the expected format of the message hard coded into this constructor here and on lines 117, 118. It might be more obvious to make these constants and refer to those.
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
unfortunately it is also hardcoded into the model server message format, off in Python land, if I'm not mistaken. but yea, I can try to refactor -- I seem to recall facing some weird issue which ended with those SCNu64's there. you're right to point out hacks, please keep doing so!