symfonic.memory.backends.postgres_operation_journal_codec¶
postgres_operation_journal_codec ¶
Validated PostgreSQL v1 invocation journal identity, schema and row access.
advance
async
¶
Owner and expected-revision compare-and-swap inside the caller's unit.
Source code in src/symfonic/memory/backends/postgres_operation_journal_codec.py
fetch
async
¶
The claim row for this key, refused unless its identity is exact.
Source code in src/symfonic/memory/backends/postgres_operation_journal_codec.py
identity ¶
Exact v1 claim identity; positional v0 scopes carry no native kinds.
Source code in src/symfonic/memory/backends/postgres_operation_journal_codec.py
insert_claim
async
¶
Atomic first insert; True only for the claimant that created it.
Source code in src/symfonic/memory/backends/postgres_operation_journal_codec.py
owned
async
¶
Lock the claim; refuse unless owner verifier and revision both match.
An accepted completion closes the claim: no later phase may be written.