[#1121] docs: Change mode of shard components
DCO action / DCO (pull_request) Successful in 3m15s Details
Vulncheck / Vulncheck (pull_request) Successful in 3m44s Details
Build / Build Components (1.21) (pull_request) Successful in 4m37s Details
Build / Build Components (1.22) (pull_request) Successful in 4m34s Details
Tests and linters / gopls check (pull_request) Successful in 5m19s Details
Tests and linters / Staticcheck (pull_request) Successful in 6m7s Details
Tests and linters / Lint (pull_request) Successful in 6m51s Details
Tests and linters / Tests with -race (pull_request) Successful in 9m27s Details
Tests and linters / Tests (1.21) (pull_request) Successful in 9m45s Details
Tests and linters / Tests (1.22) (pull_request) Successful in 9m50s Details

Signed-off-by: Alexander Chuprov <a.chuprov@yadro.com>
Alexander Chuprov 2024-05-07 01:21:56 +03:00
parent f8770f2236
commit 59a2a606e2
1 changed files with 11 additions and 1 deletions

View File

@ -14,7 +14,17 @@ Each mode is characterized by two important properties:
| `read-only` | Read-only mode, only read operations are allowed, metabase is available. |
| `degraded` | Degraded mode in which metabase and write-cache is disabled. It shouldn't be used at all, because metabase can contain important indices, such as LOCK objects info and modifying operation in this mode can lead to unexpected behaviour. The purpose of this mode is to allow PUT/DELETE operations without the metabase if really necessary. |
| `degraded-read-only` | Same as `degraded`, but with only read operations allowed. This mode is used during SSD replacement and/or when the metabase error counter exceeds threshold. |
| `disabled` | Currently used only in config file to temporarily disable a shard. |
| `disabled` | Currently used only in config file to temporarily disable a shard.
## Shard and Component Status
| Shard Mode | Metabase Mode | Blobstore Mode | Writecache Mode | Pilorama Mode | Blobovnicza Tree Mode | FSTree Mode |
|----------------------|---------------|----------------|---------------------|---------------|-----------------------|-------------|
| `Read-Only` | READ_ONLY | READ_ONLY | READ_ONLY | READ_ONLY | READ_ONLY | READ_ONLY |
| `Read-Write` | READ_WRITE | READ_WRITE | READ_WRITE | READ_WRITE | READ_WRITE | READ_WRITE |
| `Degraded-Read-Write`| CLOSE | READ_WRITE | DEGRADED | READ_WRITE | READ_WRITE | READ_WRITE |
| `Degraded-Read-Only` | CLOSE | READ_ONLY | DEGRADED_READ_ONLY | READ_ONLY | READ_ONLY | READ_ONLY |
## Transition order