Sync replication: configuration surface and feature gate
Author: jjuleslasarteCreated Jun 23, 2026Updated Sep 25, 2026
Implement the sync-replication configuration surface: a top-level boolean enable flag (sync-replication yes/no), the min-sync-replicas quorum count (immutable at runtime, settable only via config file or future cluster-level propagation), and the replica-side sync-eligible flag. The enable check (isSyncReplicationEnabled()) gates on the boolean flag, not just quorum count. CONFIG SET min-sync-replicas is rejected at runtime with an informative error; an internal applyMinSyncReplicasUpdate() hook is provided for future cluster-level propagation.
Dependencies
None
Source: valkey-io/valkey