Skip to content

fix: retry removing the tombstone of a purged space - #889

Merged
micbar merged 2 commits into
mainfrom
space-delete-tests
Oct 20, 2026
Merged

micbar merged 2 commits into
mainfrom
space-delete-tests

Conversation

@micbar

@micbar micbar commented Oct 19, 2026 •

Copy link
Copy Markdown
Member

Follow-up to #876. Purging a space could still fail with unlinkat …/.oc-nodes/locks: directory not empty. Requests that resolved a path before the space root was renamed can still create lock files in the tombstone.

  • retry removing the tombstone while it is not empty; nothing new can reach it
  • test: purge a project space while concurrent requests keep locking its nodes
  • the test fails before rename the space root before purging it #876 and sometimes on Linux before this fix; with the fix, 50/50 runs pass with -race

@micbar
micbar requested a review from aduffeck October 19, 2026 15:02
@micbar micbar changed the title test: add tests for space deletes fix: retry removing the tombstone of a purged space Oct 19, 2026
@micbar
micbar requested a review from butonic October 20, 2026 07:38
@micbar
micbar merged commit 64238ea into main Oct 20, 2026
19 checks passed
@micbar
micbar deleted the space-delete-tests branch October 20, 2026 08:58
@openclouders openclouders mentioned this pull request Oct 20, 2026
1 task
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants