Skip to content

Conversation

@JakeRoggenbuck
Copy link
Owner

prob has issues stemming from the fact that you can't really hold a lock on something that's been deleted (we try to release lock, but don't validate that it was in the case that it was deleted), or hasn't been inserted yet (we obtain the lock right after inserting).

also update rollbacks actually insert another version of the record, instead of readjusting the indirection on the base back one.

testAbort.py best shows that this works, updates are rolled back since an insert fails (duplicate primary key)

prob has issues stemming from the fact that you can't really hold a lock on something that's been deleted (we try to release lock, but don't validate that it was in the case that it was deleted), or hasn't been inserted yet (we obtain the lock right after inserting).

also update rollbacks actually insert another version of the record, instead of readjusting the indirection on the base back one.

testAbort.py best shows that this works, updates are rolled back since an insert fails (duplicate primary key)
@JakeRoggenbuck
Copy link
Owner Author

I see some issues with select with the file exam_tester_m2_part2.py

image

@JakeRoggenbuck
Copy link
Owner Author

There is also a test case added in this PR that causes an error but there doesn't seem to be any issues with existing tests.
image

@JakeRoggenbuck
Copy link
Owner Author

There is also an error with m3_tester_part_2.py

image

@JakeRoggenbuck
Copy link
Owner Author

I seemed to fix the issue with the exam_tester but not the m3_tester

image

@lucaspunz
Copy link
Collaborator

oh wait it does regress

also remove test
@JakeRoggenbuck
Copy link
Owner Author

image

@JakeRoggenbuck JakeRoggenbuck merged commit 0c3728b into main Mar 15, 2025
2 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants