Skip to content

Commit

Permalink
pd control: add service-gc-safepoint command
Browse files Browse the repository at this point in the history
Signed-off-by: Aolin <aolin.zhang@pingcap.com>
  • Loading branch information
Oreoxmt authored and ti-chi-bot committed Mar 15, 2023
1 parent bbb3a73 commit 029a4be
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 @@ -916,6 +916,23 @@ Usage:
scheduler config balance-hot-region-scheduler set enable-for-tiflash true
```
### `service-gc-safepoint`
Use this command to query the current GC safepoint and service GC safepoint. The output is as follows:
```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>"]`
For a jq formatted output, see [jq-formatted-json-output-usage](#jq-formatted-json-output-usage).
Expand Down

0 comments on commit 029a4be

Please sign in to comment.