Skip to content

worker: DropTenant fast teardown (rename + background unlink + fence) #560

Description

@somfornot

Implement DropTenant: drop the in-memory TenantShard, subtract its bytes from the global budget, clear L1, rename cache_root/<tenant> to trash and unlink in the background, and drop the cached backend client. Fence against races with the binding generation.

Part of #555. Design: #554.

🤖 Generated with Claude Code

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions