Skip to content

Commit

Permalink
pd control: add service-gc-safepoint command (#13311) (#14201)
Browse files Browse the repository at this point in the history
  • Loading branch information
ti-chi-bot authored Jun 12, 2023
1 parent b7adde6 commit 95c75ee
Showing 1 changed file with 17 additions and 0 deletions.
17 changes: 17 additions & 0 deletions pd-control.md
Original file line number Diff line number Diff line change
Expand Up @@ -1229,6 +1229,23 @@ Encoding 格式示例:
>> scheduler config balance-hot-region-scheduler set enable-for-tiflash true
```

### `service-gc-safepoint`

用于查询当前的 GC safepoint 与 service GC safepoint,输出结果示例如下:

```bash
{
"service_gc_safe_points": [
{
"service_id": "gc_worker",
"expired_at": 9223372036854775807,
"safe_point": 439923410637160448
}
],
"gc_safe_point": 0
}
```

### `store [delete | cancel-delete | label | weight | remove-tombstone | limit ] <store_id> [--jq="<query string>"]`

用于显示 store 信息或者删除指定 store。使用 jq 格式化输出请参考 [jq 格式化 json 输出示例](#jq-格式化-json-输出示例)。示例如下。
Expand Down

0 comments on commit 95c75ee

Please sign in to comment.