@valkey/valkey-glide
    Preparing search index...

    Enumeration NodeDiscoveryMode

    Controls how the client discovers node roles and topology in standalone mode.

    Index

    Enumeration Members

    Enumeration Members

    DiscoverAll: 2

    Discover full topology (primary + all replicas) from any starting node. Provide any single node address and the client will find and connect to all other nodes.

    Standard: 0

    Default: verify node roles via INFO REPLICATION, use only provided addresses.

    Static: 1

    Skip role detection entirely. Trust provided addresses as-is; first address is primary. Use when connecting through a proxy (e.g., Envoy) or when the topology is known and static. Note: Do not set clientName when using this mode with a proxy.