docs: clarify store transaction boundaries

This commit is contained in:
lda
2026-06-09 20:22:15 +07:00 Verified
parent d0c2153258
commit efe80effbc
7 changed files with 152 additions and 5 deletions
+5 -1
View File
@@ -58,7 +58,11 @@ class SourceRegistryStore(Protocol[RegistryT]):
class AtomicJsonRegistryStore(Generic[RegistryT]):
"""Filesystem implementation for small desired-registry documents."""
"""Filesystem implementation for small desired-registry documents.
Saves replace one whole JSON file atomically, but there is no revision check
or cross-process compare-and-swap. Concurrent writers are last-writer-wins.
"""
def __init__(
self,