package valkey

  1. Overview
  2. Docs

Module Topology.ShardSource

Sourcetype slot_range = {
  1. start_ : int;
  2. end_ : int;
}

inclusive

Sourcetype t = {
  1. id : string option;
    (*

    40-char shard id (Valkey 9.1+).

    *)
  2. slots : slot_range list;
  3. primary : Node.t;
  4. replicas : Node.t list;
}