-
Notifications
You must be signed in to change notification settings - Fork 105
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
Fix rollback during Node Table COPY #4467
Merged
Merged
Changes from all commits
Commits
Show all changes
28 commits
Select commit
Hold shift + click to select a range
7b295fa
Fix COPY rollback
royi-luo 756fef4
Make VersionRecord all stack-allocated
royi-luo b9af266
Try fix tests
royi-luo 789c54e
Combine interfaces for creating undo buffer info
royi-luo 6a617e0
Properly maintain numTotalRows for rel table data
royi-luo ac3e9e1
Code cleanup
royi-luo 99e2ef1
Avoid appending to undo buffer for local tables
royi-luo 1308842
Bug fixes
royi-luo 8c72b07
Actually pass rollback insert callback
royi-luo ffd0cd5
Add second layer of iterators to undo buffer
royi-luo 739b5d8
Bug fixes + code cleanup
royi-luo 14fb9a1
Cleanup node table + actually use semi mask
royi-luo 76ed7d0
Actually enable semi mask
royi-luo 5a1e353
Self-review
royi-luo a87f669
Add tests
royi-luo 07cef58
Reclaim overflow slots in in-mem hash index after delete
royi-luo a91e448
Address review comments
royi-luo 9134abb
Replace construct iterator callback with virtual class
royi-luo c3c638e
Refactor version record handler
royi-luo 89f713f
Refactor version record handler again
royi-luo 08757c3
Rollback insert for node groups
royi-luo 6b30e35
Remove unused forward declares
royi-luo 1a55443
Get correct num of total rows to rollback in node group collection
royi-luo 84b6e17
Make BM exception during rel commit trigger earlier
royi-luo 40691ca
Update num total rows for rel table data node group collection
royi-luo 4ad2632
Address review comments
royi-luo c052e90
Rework nextChainedSlots() for in mem hash index
royi-luo cec96e5
Update splitSlots so behaviour is same as before nextChainedSlot() re…
royi-luo 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 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
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,12 @@ | ||
#pragma once | ||
|
||
#include <cstdint> | ||
|
||
namespace kuzu::storage { | ||
enum class CSRNodeGroupScanSource : uint8_t { | ||
COMMITTED_PERSISTENT = 0, | ||
COMMITTED_IN_MEMORY = 1, | ||
UNCOMMITTED = 2, | ||
NONE = 10 | ||
}; | ||
} // namespace kuzu::storage |
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
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
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.
Can you double check why this is not covered by tests?
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.
The 32-bit semi-mask functions are covered but not the 64-bit ones. It probably isn't realistic to have scans that go past 32-bit range in our CI so that's probably why.