-
Notifications
You must be signed in to change notification settings - Fork 85
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
Update rel property #1149
Update rel property #1149
Conversation
test/runner/e2e_update_rel_test.cpp
Outdated
} | ||
|
||
TEST_F(UpdateRelTest, UpdateNewlyInsertedEdges) { | ||
ASSERT_TRUE(conn->query(getInsertKnowsRelQuery( |
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.
I am not sure what this tests if each of these insert queries run as a separate transaction and checkpoints. Let's discuss this.
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.
Added the conn->startWriteTrx()
at the beginning of this test.
This PR implements the backend to update a property of an existing rel.
PersistentStoreUpdates
which stores the updates to a list. When the user tries to read the updated list, thelists:readValues()
function will callreadUpdatesToVectorIfExists
which updates the vector with the updated values inPersistentStoreUpdates
.listsUpdateStore
->relUpdateStore
, and refactors some functions.