drupflare/worker - v1.0.4
    Preparing search index...

    Module ops/replica

    What a read replica may do to itself, and what it must refuse and send to the primary.

    Two allow-lists and no deny-list: a table is authoritative unless named local, a statement is a write unless proven a read, a capability is mutating unless named safe. A deny-list misses the write nobody thought of, which a replica would commit silently. enforceReadOnly walks the capabilities installed on the module, not CROSSING_NAMES, which has drifted (cfwOidcClaims and cfwTcp mutate and never joined it).

    ReplicaRequiresPrimary
    AuthoritativeWrite
    CapabilityVerdict
    ReadOnlyGuard
    ReplicaEnv
    REPLICA_SAFE_CAPABILITIES
    authoritativeWrites
    classifyCapability
    drupalSessionRowId
    enforceReadOnly
    expiryGcTable
    fenceAllows
    isProvenRead
    isReplicaLocalTable
    replicaReadOnly
    speculative
    statementAllowedOnReplica