Repository navigation
fix: prevent stream resurrection and staging races during async deletion #1857
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
Closed
AadishJ
wants to merge
21
commits into
parseablehq:main
from
AadishJ:fix/async-deletion-race-conditions
Closed
Changes from all commits
Commits
Show all changes
21 commits
Select commit
Hold shift + click to select a range
6443b18
Add tombstone/deleting safety net for stream deletion (#1763)
prabhaks 690410a
Nest tombstone markers under a per-stream directory so they're discov…
prabhaks 4eafc27
Make stream deletion asynchronous, resumable across restarts (#1763)
prabhaks 094389a
Address CodeRabbit review: preserve deleting flag, tighten tombstone …
prabhaks eeb367f
Merge branch 'fix/1763-stream-deletion-safety-net' into fix/1763-asyn…
prabhaks a3037b5
Flip the deleting flag before the tombstone write, not after
prabhaks e57e47d
Merge remote-tracking branch 'origin/main' into fix/1763-stream-delet…
prabhaks b2fa8f0
Merge branch 'fix/1763-stream-deletion-safety-net' into fix/1763-asyn…
prabhaks c7fc671
Merge remote-tracking branch 'origin/main' into fix/1763-async-stream…
prabhaks eba77ac
Address CodeRabbit review feedback on #1770, switch MinIO test image …
prabhaks b0b0f65
Fix stale is_deleting flag blocking recreation, serialize delete vs c…
prabhaks 04fc9e7
fix: stale is_deleting self-heal didn't clear the "already exists" check
prabhaks 4a719ce
Add missing is_deleting() guards and reconcile stuck tombstones
prabhaks 2b5e081
Close remaining resurrection/race gaps found in review, fix stale com…
prabhaks 8893e25
Address CodeRabbit findings: stats race, error swallowing, stale snap…
prabhaks c007bda
fix: don't swallow errors from live tombstone recheck in sync_all_str…
prabhaks 186947c
refactor: split sync_all_streams reconciliation into helper functions
prabhaks 4403a62
fix: close two self-review gaps in standalone delete and update self-…
prabhaks e502026
fix: prevent dataset resurrection and staging races during deletion
AadishJ 0753207
Merge remote-tracking branch 'upstream/main' into fix/async-deletion-…
AadishJ 1d5551b
fix: merge issues
AadishJ 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
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.
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.
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.
get_stream_hot_tier_internalalready performs this exact deletion check immediately above. The added block repeats the stream lookup and metadata lock without protecting the later hot-tier read from concurrent deletion. Remove the repeated block so there is one guard to maintain.Prompt To Fix With AI