Skip to content
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

Add transaction to update rel #1159

Merged
merged 1 commit into from
Jan 15, 2023
Merged

Add transaction to update rel #1159

merged 1 commit into from
Jan 15, 2023

Conversation

acquamarin
Copy link
Collaborator

@acquamarin acquamarin commented Jan 8, 2023

This PR adds transaction support to rel update.
When executing relTable::prepareCommit(), it firstly checks whether the list has any updates on persistentStore. If persistentStore has updates, it wil read the updates to inMemList during prepareCommit().

src/storage/storage_structure/lists/lists.cpp Outdated Show resolved Hide resolved
src/storage/storage_structure/lists/lists.cpp Show resolved Hide resolved
src/storage/storage_structure/lists/lists.cpp Outdated Show resolved Hide resolved
src/storage/store/rel_table.cpp Outdated Show resolved Hide resolved
test/runner/e2e_update_rel_test.cpp Outdated Show resolved Hide resolved
test/runner/e2e_update_rel_test.cpp Outdated Show resolved Hide resolved
test/runner/e2e_update_rel_test.cpp Outdated Show resolved Hide resolved
test/runner/e2e_update_rel_test.cpp Outdated Show resolved Hide resolved
@acquamarin acquamarin merged commit 9abbc2a into master Jan 15, 2023
@acquamarin acquamarin deleted the update-rel-trx branch January 15, 2023 03:59
@ray6080 ray6080 changed the title add transaction to update rel Add transaction to update rel Jan 29, 2023
@ray6080 ray6080 added the feature New features or missing components of existing features label Jan 29, 2023
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
feature New features or missing components of existing features
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants