Commit Graph

57 Commits

Author SHA1 Message Date
2b47a08a57 server: change failpoint http path same with tikv (#15468) 2020-03-19 10:28:22 +08:00
45d83d1adb infoschema: remove the inspection_schema (#15296)
Signed-off-by: Lonng <heng@lonng.org>
2020-03-12 11:51:18 +08:00
51f40d0f7e server: integrate failpoint into status service (#15223) 2020-03-11 15:03:32 +08:00
0f0bdef81b upgrade pd-client to support pd client tls reload (#15071) 2020-03-09 21:22:16 +08:00
92f6f4ef84 server: support check the "CommanName" of tls-cert for status-port(http/grpc) (#15137) 2020-03-05 23:52:48 +08:00
7beea97940 mocktikv: add write op_lock for mocktikv (#14991) 2020-03-02 15:53:41 +08:00
27b280dd05 *: specify time range via TIME_RANGE hint for metrics/inspection tables (#14874)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-21 13:01:52 +08:00
25952d4a8f ddl, executor, server: add drop if exists warnings (#14807) 2020-02-18 11:40:48 +08:00
9ffea356b1 *: support partition table in tiflash (#14735) 2020-02-13 09:59:47 +08:00
5a9f2fa5ab server, tikv: enable unit test run parallel and add parallel f… (#14296) 2020-01-09 15:12:45 +08:00
297e453a61 server: add test for /debug/sub-optimal-plan HTTP API (#14302) 2020-01-06 21:25:39 +08:00
0bab73adf5 *: use new row-format in tidb (#12634) 2020-01-02 22:34:39 +08:00
57c2d76e3c server: support partitioned table for the /mvcc/* HTTP API (#14197)
use the table(partition) name pattern to work on the partitions
2019-12-31 17:54:14 +08:00
d006443194 type: encapsulate Time API (#14288) 2019-12-31 12:41:09 +08:00
1d2377f520 server: fix static check issues (#13878) 2019-12-28 21:02:39 +08:00
e8c198d235 *: implement the INSPECTION_SCHEMA to provide snapshot of inspection tables (#14147)
Signed-off-by: Lonng <heng@lonng.org>
2019-12-24 11:24:14 +08:00
933715f4a2 infoschema: add metric database/table to query cluster metric via SQL. (#13757) 2019-12-20 16:13:28 +08:00
da414efbbc *: wait for binlog recovering when using HTTP API (#13740) 2019-12-03 17:28:09 +08:00
3d3580e2a0 server: improve test coverage for /mvcc/key API (#13818) 2019-11-29 19:17:51 +08:00
06fd934e17 server: improve test coverage of /debug/zip api (#13486) 2019-11-22 11:25:34 +08:00
f9be8ebf85 *: make log_level working for gotest (#13258) 2019-11-08 14:44:39 +08:00
a8ed9501ee *: support the TiFlash replica of table (#12453) 2019-10-30 00:07:51 +08:00
161ff3c9ab store: implement MVCCDebugger Interface for MVCCLevelDB (#11754) 2019-09-05 17:17:24 +08:00
2813178979 server: improving test coverage for /debug/zip api (#11760) 2019-08-19 11:21:46 +08:00
6ba79d4d44 fix http handler ut (#11494)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2019-07-29 13:33:54 +08:00
d135ff161f server: handle partitioned table in some http APIs (#11463) 2019-07-26 20:07:43 +08:00
0550bacd2b store: improve ut coverage for store (#10525) 2019-06-18 13:51:00 +08:00
990e256fe7 server: fix panic in api regions/meta (#10222) 2019-05-09 17:45:11 +08:00
76e0a91694 infoschema: add mem table to show hot region (#10106) 2019-04-18 17:41:53 +08:00
3ad3b3d00b server: change db-table/{table_partition_id} http api (#10026) 2019-04-12 11:19:53 +08:00
7acbe520f4 server: move out some code from http_handler.go (#10071) 2019-04-09 13:46:15 +08:00
e31e8f1560 *: reduce runtime.growslice by preallocation (#9946) 2019-03-31 10:31:06 +08:00
c451f00814 *: fix utf8 charset upgrade compatibility (#9820) 2019-03-25 18:06:32 +08:00
5ffa06b6c3 *: unify and normalize the format of the log in the pkg of server (#9878) 2019-03-25 16:10:36 +08:00
a8664ef00b table: add a http api to control whether tidb check inserting 4 bytes in utf8 charset column (#9024) 2019-02-18 16:57:03 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
bb1f239516 http: add http api for get db and table info that is related to the tableID (#8256)
* http: add http api for get db and table info that is related to the tableID
2018-11-22 21:52:05 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
9fc67b9a9f store TiDB server info to PD and add http api handle (#7082) 2018-08-15 12:51:00 +08:00
43f0c1ee70 ddl: add slow operations log to add indices, make trouble shooting easier. (#7060) 2018-07-17 09:42:58 +08:00
d2799801ae test: fix leak test (#6822)
make sure close dom/store in all test.
2018-06-12 17:14:22 +08:00
96a5109ebb types: handle NULL datum if we need convert it to string. (#6761)
* types: handle `NULL` when we need to
2018-06-06 20:15:48 +08:00
13050b4d60 server: fix fail to fetch profile by pprof (#6747) 2018-06-04 22:06:18 +08:00
879db103b3 http: support change log level. (#6604)
So we don't need to restart the server to change the log level, useful for debug.
2018-05-22 22:04:09 +08:00
8a2a20e181 store/tikv: more friendly error log for WriteConflict (#6457) 2018-05-18 13:47:24 +08:00
84b08bf2f6 http: revert log_level change (#6525)
log level is not accessed atomically in this version, cause race issue.
2018-05-10 16:36:34 +08:00
8e59d40831 sever: add HTTP API to change log level dynamically. (#6513) 2018-05-09 19:31:01 +08:00
d3290b936b HTTP API: support query the DDL history (#6245) 2018-04-16 11:15:48 +08:00
f994f4f987 *: clean up MvccStore in mocktikv (#6256)
* *: clean up MvccStore in mocktikv
2018-04-11 10:30:27 +08:00