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

Improve robustness against BM exceptions #4423

Draft
wants to merge 4 commits into
base: master
Choose a base branch
from
Draft

Conversation

royi-luo
Copy link
Collaborator

@royi-luo royi-luo commented Oct 25, 2024

Description

Fixed bugs:

Fixes #4338

Contributor agreement

@royi-luo royi-luo self-assigned this Oct 25, 2024
@royi-luo royi-luo force-pushed the royi/fix-4338 branch 4 times, most recently from c0e06f3 to 352233b Compare October 30, 2024 23:19
Improve exception robustness

Add test for copy rel group

Avoid transferring column ownership to checkpoint state

Cleanup empty node groups after exception in separate step

Add same connection test

Throw batch insert error before attempting delete (which should be ignore errors only)

Fix empty node group removing + remove unneeded changes

Avoid nullptr dereference in Database destructor

Hack fix to hash index exception during checkpoint recovery

Undo buffer operates on node group

Remove cleanup phase

Append node group to collection as late as possible (to avoid BM exceptions occurring between append + populate)

Fix switch fall through

Undo buffer insert operates on table instead of node group

Hacked hash index fix pt 2

Undo buffer changes for rel table

NodeGroupCollection responsible for pushing transaction insert info

Skip correct column when commiting rel table

Fix commitInsert for children

More fixes

Fix

WIP
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.

Buffer manager allocation failures causing corruption
1 participant