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
Name | Data type | Description | Default value |
---|---|---|---|
retryIntervalMilliseconds | int | Milliseconds between retries | 500 |
maxRetries | int | Maximum number of client connection retries | 3 |
timeToLiveSeconds | int | Number of seconds to expire temporary data | 60 |
operationTimeoutMilliseconds | int | The number of milliseconds in which client operations timed out | 500 |
digest | String | Login authentication password |
Etcd Persistence #
Type: Etcd
Applicable mode: Cluster
Configurable Properties
Name | Data type | Description | Default value |
---|---|---|---|
timeToLiveSeconds | long | Number of seconds to expire temporary data | 30 |
connectionTimeout | long | Connection timeout in seconds | 30 |
Mate Persistence #
Type: SphereEx:MATE
Applicable mode: Cluster
Configurable Properties:
Currently none
Operation Steps #
- Configure the Mode running mode in server.yaml
- Configure metadata persistence repository type
Configuration Example #
- Cluster mode
mode:
type: Cluster
repository:
type: SphereEx:MATE
props:
namespace: governance
server-lists: localhost:21506