Logo
Metadata Repository

Metadata Repository #

Background #

DBPlusEngine provides different metadata persistence methods for different running modes. Users can choose an appropriate way to store metadata while configuring the running mode.

Parameters #

ZooKeeper Repository #

Type: ZooKeeper

Mode: Cluster

Attributes:

NameTypeDescriptionDefault Value
retryIntervalMillisecondsintMilliseconds of retry interval500
maxRetriesintMax retries of client connection3
timeToLiveSecondsintSeconds of ephemeral data live60
operationTimeoutMillisecondsintMilliseconds of operation timeout500
digestStringLogin password

Etcd Repository #

Type: Etcd

Mode: Cluster

Attributes:

NameTypeDescriptionDefault Value
timeToLiveSecondslongSeconds of ephemeral data live30
connectionTimeoutlongSeconds of connection timeout30

Mate Repository #

Type: SphereEx:MATE

Mode: Cluster

Attributes:

none

Procedure #

  1. Configure running mode in server.yaml.
  2. Configure metadata persistence warehouse type.

Sample #

  • Cluster mode.
mode:
  type: Cluster
  repository:
    type: SphereEx:MATE
    props:
      namespace: governance
      server-lists: localhost:21506