[P0-21] Define distributed target lease and fencing semantics #29
Labels
No labels
bug
documentation
duplicate
enhancement
good first issue
help wanted
invalid
question
wontfix
No milestone
No project
No assignees
1 participant
Notifications
Due date
No due date set.
Dependencies
No dependencies set.
Reference
nsaspy/starintel-server#29
Loading…
Add table
Add a link
Reference in a new issue
No description provided.
Delete branch "%!s()"
Deleting a branch is permanent. Although the deleted branch may continue to exist for a short time before it actually gets removed, it CANNOT be undone in most cases. Continue?
Objective
Define the locking system used by HTTP clients, service instances, and actors before implementing a KV backend.
Lease identity
Canonical lock key must include the security/ownership boundary, for example tenant or program, normalized target identity, actor/workflow, and optional operation class. Do not lock on raw unnormalized user input.
Required lease record
Required operations
Semantics
Acceptance criteria
A design document specifies state transitions, races, failure modes, stale-client behavior, split-brain assumptions, fencing enforcement points, HTTP status/error shapes, and audit events.