Skip to content

Keep a server deletable when its data removal fails - #297

Merged
athNdev merged 8 commits into
mainfrom
feat/resumable-delete
Nov 4, 2026
Merged

athNdev merged 8 commits into
mainfrom
feat/resumable-delete

Conversation

@athNdev

@athNdev athNdev commented Oct 28, 2026

Copy link
Copy Markdown
Owner

Summary

  • Server deletion removes the data directory before the database row. If that removal fails, the row stays and the same delete can be retried.
  • The directory removed is the owning node's mapped storage. A remote node without shared storage is refused, so a controller-local path with the same name is left alone.

Test plan

  • go test ./internal/rpc/services/ -run TestDeleteServer covers local removal, a failed removal that keeps the row, a remote node without storage, a shared-storage copy, and the existing node-unavailable case.
  • Browser check is not required; this change has no screen.

athNdev and others added 8 commits October 28, 2026 15:38
…ete a controller path for a remote node.

Co-authored-by: Cursor <[email protected]>
…g its container or deleting its world.

Co-authored-by: Cursor <[email protected]>
…d delete still records what happened to the world.

Co-authored-by: Cursor <[email protected]>
…eleting a world whose disposition was already recorded.

Co-authored-by: Cursor <[email protected]>
@athNdev
athNdev merged commit 1729722 into main Nov 4, 2026
10 checks passed
@athNdev
athNdev deleted the feat/resumable-delete branch November 4, 2026 00:08
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.

1 participant