Skip to main content

Module authority

Module authority 

Source
Expand description

Object-store Authority with one writer per node and monotonic local leases.

Modulesยง

writer ๐Ÿ”’

Structsยง

Authority
Node-local Authority. Share one instance and its writer across callers.
Control ๐Ÿ”’
FencingToken
A token authorizes mutations only in its original local term.
Inner ๐Ÿ”’

Enumsยง

Admission ๐Ÿ”’
AuthorityMutation
Fenced Head updates supported by Head v1.
AuthorityPrecondition
Additional condition on the Head for a fenced mutation.
AuthorityStatus
The local lifecycle of the Authority writer.
SnapshotFloor ๐Ÿ”’
A confirmed PUT no longer has usable Metadata. Its base is retained solely to rule out a stale conditional version when the next snapshot arrives.
TakeoverOutcome
Result of one takeover attempt.

Constantsยง

CLOCK_GUARD ๐Ÿ”’
GET_TIMEOUT ๐Ÿ”’
LEASE ๐Ÿ”’
QUEUE_CAPACITY ๐Ÿ”’
RENEW_INTERVAL ๐Ÿ”’

Functionsยง

closed ๐Ÿ”’
invalid_snapshot ๐Ÿ”’
rejected ๐Ÿ”’
timeout ๐Ÿ”’