From cf2924d0c98955b60672f8301f45ca8e6fc11678 Mon Sep 17 00:00:00 2001 From: Jack Yu Date: Mon, 18 Feb 2019 15:53:33 +0800 Subject: [PATCH] doc: remove the document of the http disk usage api (#9329) (#9330) --- docs/tidb_http_api.md | 14 +++++--------- 1 file changed, 5 insertions(+), 9 deletions(-) diff --git a/docs/tidb_http_api.md b/docs/tidb_http_api.md index a5d9e1132fe30..2e2cd79529a71 100644 --- a/docs/tidb_http_api.md +++ b/docs/tidb_http_api.md @@ -52,12 +52,6 @@ curl http://{TiDBIP}:10080/schema?table_id={tableID} ``` -1. Get disk-usage info about db.table - - ```shell - curl http://{TiDBIP}:10080/tables/{db}/{table}/disk-usage - ``` - 1. Get MVCC Information of the key with a specified handle ID ```shell @@ -81,6 +75,7 @@ ```shell curl http://{TiDBIP}:10080/mvcc/index/{db}/{table}/{index}/{handle}?${c1}={v1}&${c2}=${v2} ``` + *Hint: For the index column which column type is timezone dependent, e.g. `timestamp`, convert its value to UTC timezone.* @@ -89,7 +84,7 @@ timezone.* ```shell curl -X POST http://{TiDBIP}:10080/tables/{db}/{table}/scatter ``` - + **Note**: The `scatter-range` scheduler may conflict with the global scheduler, do not use it for long periods on the larger table. 1. Stop scatter the regions, disable the `scatter-range` scheduler for the specified table. @@ -145,12 +140,13 @@ timezone.* ```shell curl http://{TiDBIP}:10080/tables/{colID}/{colFlag}/{colLen}?rowBin={val} ``` + *Hint: For the column which field type is timezone dependent, e.g. `timestamp`, convert its value to UTC timezone.* - + 1. Resign the ddl owner, let tidb start a new ddl owner election. ```shell curl -X POST http://{TiDBIP}:10080/ddl/owner/resign ``` - + **Note**: If you request a tidb that is not ddl owner, the response will be `This node is not a ddl owner, can't be resigned.`