Skip to content

Commit 926526c

Browse files
Oreoxmtti-chi-bot
authored andcommitted
pd control: add service-gc-safepoint command
Signed-off-by: Aolin <aolin.zhang@pingcap.com>
1 parent f695055 commit 926526c

File tree

1 file changed

+17
-0
lines changed

1 file changed

+17
-0
lines changed

pd-control.md

Lines changed: 17 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -889,6 +889,23 @@ Usage:
889889
scheduler config balance-hot-region-scheduler set enable-for-tiflash true
890890
```
891891
892+
### `service-gc-safepoint`
893+
894+
Use this command to query the current GC safepoint and service GC safepoint. The output is as follows:
895+
896+
```bash
897+
{
898+
"service_gc_safe_points": [
899+
{
900+
"service_id": "gc_worker",
901+
"expired_at": 9223372036854775807,
902+
"safe_point": 439923410637160448
903+
}
904+
],
905+
"gc_safe_point": 0
906+
}
907+
```
908+
892909
### `store [delete | cancel-delete | label | weight | remove-tombstone | limit ] <store_id> [--jq="<query string>"]`
893910
894911
Use this command to view the store information or remove a specified store. For a jq formatted output, see [jq-formatted-json-output-usage](#jq-formatted-json-output-usage).

0 commit comments

Comments
 (0)