-
Notifications
You must be signed in to change notification settings - Fork 65
Implement wal logging and replay for EdgeView, NodeView, delete_edge and graph properties
#2493
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
fabubaker
wants to merge
41
commits into
db_v4
Choose a base branch
from
db_v4_/wal-edge-view
base: db_v4
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 39 commits
Commits
Show all changes
41 commits
Select commit
Hold shift + click to select a range
1a2a8de
Add logging and replay for add_updates for edges
fabubaker 6263303
Remove separate add_edge_properties wal entry
fabubaker eb97fed
Use set_or_unify_id_and_dtype during replay
fabubaker d110fb9
Add logging and replay for AddEdgeMetadata
fabubaker 4df7734
chore: apply tidy-public auto-fixes
github-actions[bot] d5564ee
Remove src_id and dst_id for add_metadata
fabubaker 34bba81
Use AddEdgeMetadata logging methods
fabubaker 2039f22
Add set_lsn method for writers
fabubaker 1fd78f2
Use correct mapper for metadata
fabubaker 74fd32b
Create add_metadata_impl and reuse
fabubaker 2cc6064
Merge branch 'db_v4' into db_v4_/wal-edge-view
fabubaker 86e5d5a
chore: apply tidy-public auto-fixes
github-actions[bot] 1d92c7a
Add wal logging for NodeView.add_updates
fabubaker b672f93
Create add_metadata_impl for NodeView and reuse
fabubaker 8030746
Add wal logging and replay for NodeView.add_metadata
fabubaker 5d43d37
chore: apply tidy-public auto-fixes
github-actions[bot] d936726
Add wal for set_node_type
fabubaker e2842e6
Add FIXME for actual set_node_type logging
fabubaker e1bf5ae
Add logging and replay for graph_props
fabubaker a46cd98
Implement set_lsn for GraphPropWriter
fabubaker acf70ad
Return GraphPropWriterT
fabubaker d4a0c53
Call wal.log in add_properties
fabubaker f9db442
Call wal.log in add_properties
fabubaker fd2e3d8
Remove some unwraps and collects in replay
fabubaker 67e623b
Merge branch 'db_v4' of github.com:Pometry/Raphtory into db_v4_/wal-e…
fabubaker ef2d9f3
Fix some more merge conflicts
fabubaker 8873415
Add logging for set_node_type
fabubaker 734c2df
Run fmt
fabubaker ebee5da
Run fmt
fabubaker 3d45e82
Cleanup and fix reserve_and_lock_segment
fabubaker 3f469a2
Remove Option from WriteLockedGraphPropPages writer
fabubaker d73f3f8
Check lsn during graph prop replay
fabubaker 20a3b77
Refactor graph props add_metadata
fabubaker cca29fb
Implement logging and replay for graph metadata
fabubaker 72200d6
Use is_update correctly
fabubaker 9f95da8
Implement logging and replay for delete_edge
fabubaker d30f910
Run fmt
fabubaker f69e1bf
Simplify some comments
fabubaker 13a9304
Run fmt
fabubaker e17ae0f
fix some review comments
fabianmurariu f957390
fmt
fabianmurariu 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
Large diffs are not rendered by default.
Oops, something went wrong.
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
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.
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.
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.
We are not trying to find a free segment here, we are going to replace the segment at this slot with a new one (unless another thread managed to replace it before we get to it)