You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 993abd6
Browse filesBrowse the repository at this point in the historyBrowse files
libsql-server: do not create a replica namespace the primary's fence refuses
A replica server creating a namespace lazily for a name the primary's fence
refuses (a quarantined or aborted target, a read-fenced source, a fence state
the primary cannot establish) now fails the request at once with the primary's
code (Error::NamespaceFence: 423 and the stable code) instead of retrying the
handshake, and leaves no local namespace behind: the namespace directory the
setup created is removed (a directory that already existed is kept), and
NamespaceStore::with forgets the metastore entry handle() added and the
controller the attempt created, when neither holds anything durable or is in
use by another attempt. A later request, once the primary admits the name,
creates it normally.
Co-authored-by: Tomasz Szymczyszyn <tomasz.szymczyszyn@shopify.com>
0 commit comments