forked from TrueCloudLab/frostfs-node
[#1883] config/example: Actualize desc of shard modes
Signed-off-by: Leonard Lyubich <ctulhurider@gmail.com>
This commit is contained in:
parent
c4a2a283ae
commit
eb206d6e59
2 changed files with 14 additions and 8 deletions
|
@ -147,7 +147,12 @@ storage:
|
|||
remover_sleep_interval: 5m # frequency of the garbage collector invocation
|
||||
|
||||
0:
|
||||
mode: "read-only" # mode of the shard, must be one of the: "read-write" (default), "read-only"
|
||||
mode: read-only # mode of the shard, must be one of the:
|
||||
# read-write (default)
|
||||
# read-only
|
||||
# degraded
|
||||
# degraded-read-only
|
||||
# disabled (do not work with the shard, allows to not remove it from the config)
|
||||
resync_metabase: false # sync metabase with blobstor on start, expensive, leave false until complete understanding
|
||||
|
||||
writecache:
|
||||
|
|
|
@ -170,7 +170,8 @@ Contains configuration for each shard. Keys must be consecutive numbers starting
|
|||
The following table describes configuration for each shard.
|
||||
|
||||
| Parameter | Type | Default value | Description |
|
||||
|-------------------|---------------------------------------------|---------------|------------------------------------------|
|
||||
|-------------------|---------------------------------------------|---------------|-----------------------------------------------------------------------------------------------------------|
|
||||
| `mode` | `string` | `read-write` | Shard Mode.<br/>Possible values: `read-write`, `read-only`, `degraded`, `degraded-read-only`, `disabled` |
|
||||
| `resync_metabase` | `bool` | `false` | Flag to enable metabase resync on start. |
|
||||
| `writecache` | [Writecache config](#writecache-subsection) | | Write-cache configuration. |
|
||||
| `metabase` | [Metabase config](#metabase-subsection) | | Metabase configuration. |
|
||||
|
|
Loading…
Reference in a new issue