milvus-logo

etcd-related Configurations

This topic introduces the etcd-related configurations of Milvus.

etcd is the metadata engine supporting Milvus' metadata storage and access.

Under this section, you can configure etcd endpoints, relevant key prefixes, etc.

etcd.endpoints

Description Default Value
  • Endpoints used to access etcd service. You can change this parameter as the endpoints of your own etcd cluster.
  • Environment variable: ETCD_ENDPOINTS
  • etcd preferentially acquires valid address from environment variable ETCD_ENDPOINTS when Milvus is started.
  • localhost:2379

    etcd.rootPath

    Description Default Value
  • Root prefix of the key to where Milvus stores data in etcd.
  • Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
  • It is recommended to change this parameter before starting Milvus for the first time.
  • Set an easy-to-identify root key prefix for Milvus if etcd service already exists.
  • by-dev

    etcd.metaSubPath

    Description Default Value
  • Sub-prefix of the key to where Milvus stores metadata-related information in etcd.
  • Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
  • It is recommended to change this parameter before starting Milvus for the first time.
  • meta

    etcd.kvSubPath

    Description Default Value
  • Sub-prefix of the key to where Milvus stores timestamps in etcd.
  • Caution: Changing this parameter after using Milvus for a period of time will affect your access to old data.
  • It is recommended not to change this parameter if there is no specific reason.
  • kv
    On this page