-
Notifications
You must be signed in to change notification settings - Fork 1
Serialize database destruction with concurrent opens #787
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
Open
kriszyp
wants to merge
49
commits into
main
Choose a base branch
from
kris/serialize-destroy-open
base: main
Could not load branches
Branch not found: {{ refName }}
Loading
Could not load tags
Nothing to show
Loading
Are you sure you want to change the base?
Some commits from the old base branch may be removed from the timeline,
and old review comments may become outdated.
Open
Changes from all commits
Commits
Show all changes
49 commits
Select commit
Hold shift + click to select a range
220c304
Serialize same-path opens with database destruction
kriszyp d8823f9
Address lifecycle review findings
kriszyp 31a4ab7
Contain lifecycle close failures
kriszyp 3b63c06
Close remaining lifecycle race windows
kriszyp 8139d81
Make descriptor close retries resumable
kriszyp 94bcdb1
Resolve lifecycle review findings
kriszyp c175ae9
Contain close failures to the affected database
kriszyp b549fc2
Complete teardown after close status errors
kriszyp 51e168d
Make cross-env lifecycle teardown safe
kriszyp db9e86d
Close remaining lifecycle race windows
kriszyp bd4b571
Update stream destroy lifecycle coverage
kriszyp b6b4856
Close final lifecycle race windows
kriszyp 1ab06ed
Gate opens across process shutdown
kriszyp b4fa7b4
Rescan lifecycle state after destroy
kriszyp 08c1e52
Keep destroy recovery explicit
kriszyp 5faf1ef
Release cancelled lifecycle operations
kriszyp 2be5d39
Preserve read-only destroy protection
kriszyp c78a015
Document destroy during stream backup
kriszyp 031d96f
Restrict destroy to known database handles
kriszyp b675f15
Run lifecycle fault fixtures under Node
kriszyp 64849f9
Resolve Node for lifecycle fixtures
kriszyp 44a22f7
Consume close-failure seam natively
kriszyp c49d520
Release copy pins before promise settlement
kriszyp 9c62cfb
Align stream backup completion cleanup
kriszyp 2302dd7
Seed retry delay before fixture startup
kriszyp c6e43c1
Fix cross-thread destruction cleanup
kriszyp 5f95a54
Address lifecycle review feedback
kriszyp 8f29c72
fix(lifecycle): close teardown review gaps
kriszyp f4b1550
fix(lifecycle): quarantine unsafe close failures
kriszyp e7909e5
Fix worker teardown ordering in CI gates
kriszyp 1519246
Surface worker benchmark teardown failures
kriszyp 7122bdd
Keep VT fast paths teardown-independent
kriszyp d76818f
Serialize iterators with forced teardown
kriszyp 69cd76f
Address remaining lifecycle review findings
kriszyp ade3651
Address remaining lifecycle review threads
kriszyp 0d7f873
Keep close-time compaction cancellable through the full drain, guard …
kriszyp 35a99b0
Make async-work admission and cancellation mutually exclusive; wait u…
kriszyp 4459c41
fix(async): release admitted async-work claims on a queue failure
kriszyp 91046f3
fix(close): cancel compaction before async drain
kriszyp e5e55bc
docs: fix lifecycle invariant numbering
kriszyp ea93ce7
fix(lifecycle): release the registry before static destruction
kriszyp 9fdb15c
fix(close): cancel a handle's own async compaction before draining it
kriszyp 1926048
fix(close): cancel attached handles' compactions before finishClose b…
kriszyp 41bd966
docs(close): correct the compaction-token contract after the second arm
kriszyp 9fdc7c3
docs(close): say what the compaction fixtures do not prove
kriszyp e8eb0d9
fix(lifecycle): attach handles before releasing open gate
kriszyp d3944d9
fix(lifecycle): retain failed open path for recovery
kriszyp 85caaac
docs(lifecycle): correct cancellation ownership
kriszyp d082b42
Make open/attach race fixture deterministic
kriszyp 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
Large diffs are not rendered by default.
Oops, something went wrong.
This file contains hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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 hidden or 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.
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.
Uh oh!
There was an error while loading. Please reload this page.