Logo
Metadata Persistence Repository

Metadata Persistence Repository #

Background #

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

Parameters Explanation #

ZooKeeper Persistence #

Type: ZooKeeper

Applicable mode: Cluster

Configurable Properties

NameData typeDescriptionDefault value
retryIntervalMillisecondsintMilliseconds between retries500
maxRetriesintMaximum number of client connection retries3
timeToLiveSecondsintNumber of seconds to expire temporary data60
operationTimeoutMillisecondsintThe number of milliseconds in which client operations timed out500
digestStringLogin authentication password

Etcd Persistence #

Type: Etcd

Applicable mode: Cluster

Configurable Properties

NameData typeDescriptionDefault value
timeToLiveSecondslongNumber of seconds to expire temporary data30
connectionTimeoutlongConnection timeout in seconds30

Mate Persistence #

Type: SphereEx:MATE

Applicable mode: Cluster

Configurable Properties:

Currently none

Operation Steps #

  1. Configure the Mode running mode in server.yaml
  2. Configure metadata persistence repository type

Configuration Example #

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