Skip to main content

Module object_store

Module object_store 

Source
Expand description

Object-store Authority election, Head v1 codec and conditional storage.

Modulesยง

authority ๐Ÿ”’
Object-store Authority with one writer per node and monotonic local leases.
head ๐Ÿ”’
probe ๐Ÿ”’
store ๐Ÿ”’

Structsยง

Authority
Node-local Authority. Share one instance and its writer across callers.
AuthorityHead
Version-one persisted authority payload. Lease deadline is diagnostic only.
AuthorityState
A coherent read. Only this module can pair the payload and response metadata.
FencingToken
A token authorizes mutations only in its original local term.
HeadStore
Protocol-specific storage. Writes are never transparently retried.
NodeIdentity
A process identity, generated once at startup and retained by the caller.

Enumsยง

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.
TakeoverOutcome
Result of one takeover attempt.

Constantsยง

HEAD_FORMAT_VERSION
Persisted Authority Head format supported by this reader and writer.