Commit Graph

111 Commits

Author SHA1 Message Date
f672f5c8f1 server: improve the memory usage of schemaHandler's ServeHTTP to avoid OOM (#30970)
close pingcap/tidb#30969
2021-12-29 20:09:50 +08:00
5e031442d9 executor: enhance the strategy of the sampling rate calculation (#31016)
ref tikv/tikv#11669
2021-12-28 20:47:49 +08:00
55a38a1c76 *: tiny clean up the RecordSet NewChunk() method (#29232) 2021-11-02 20:02:51 +08:00
0e16830288 server: add plan replayer dump http api (#29214) 2021-10-29 16:40:51 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
34d43fb8c5 *: convert tikv.error which is returned by RegionCache.Locate to tidb.error (#26647) 2021-07-28 10:26:16 +08:00
2b461e0ea7 executor: Support collecting information about retryable deadlocks to information_schema.deadlocks (#26140) 2021-07-22 17:54:14 +08:00
6314233cae *: add table storage info status api (#22859) 2021-07-19 15:29:34 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
c44b8d118b config: make deadlock history's max size configuable (#24925) 2021-06-03 12:26:26 +08:00
bbd5b32c2f *: clean up the logging component (#23534) 2021-06-01 10:43:37 +08:00
0199b402e4 server/http_handler: use func in helper instead of use tikvrpc directly (#24823) 2021-05-25 17:23:34 +08:00
1c4fbfce50 server: close the temporary session in HTTP API to avoid memory leak (#24339) 2021-05-13 18:47:39 +08:00
4127c6b19a server: add MVCC API for secondary index with common handle (#24436) 2021-05-07 20:18:51 +08:00
a6bde1e4ef ddl: add http api to set customized ddl hook for remote ticase test (#24198) 2021-04-27 14:57:56 +08:00
67e63d9ffa variable: merge Bool{On,Off} with {On,Off} (#24218) 2021-04-23 13:09:54 +08:00
1e2cbf9a22 store/tikv: use []byte instead of kv.Key in package store/tikv (#23859) 2021-04-13 12:39:52 +08:00
24a53c392f tikv/region_cache:use []byte instead of kv.Key in KeyLocation (#23957) 2021-04-13 10:53:50 +08:00
01be9ce226 server: add HTTP API to enable/disable async commit and 1PC (#23115) 2021-03-09 11:48:54 +08:00
602bcd2e40 *: fix some structcheck lint warnings (#22983) 2021-03-02 23:12:54 +08:00
4e44674615 server: support MVCC-get HTTP API for clustered index (#22904) 2021-03-01 19:48:54 +08:00
8357f809ff *: remove some useless codes and do tiny update (#22972) 2021-02-26 19:14:53 +08:00
8ea5930ea8 *: separate use of kv.Storage and tikv.Storage (#22891)
* *: separate use of kv.Storage and tikv.Storage

Signed-off-by: disksing <i@disksing.com>

* fix compile

Signed-off-by: disksing <i@disksing.com>

Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: Shirly <wuxuelian@pingcap.com>
2021-02-24 17:54:03 +08:00
b35e15c8cf store:move tikv/gcworker to store/gcworker (#22678)
Signed-off-by: shirly <AndreMouche@126.com>
2021-02-03 15:16:28 +08:00
7a275a77bb store/tikv: move EtcdBackend out (#22676)
Signed-off-by: disksing <i@disksing.com>
2021-02-03 14:59:57 +08:00
d19a21d92a ddl, server, session: make gocritic happy (#21544) 2020-12-08 12:09:48 +08:00
160cb9b814 *: fix set tidb_general_log not work (#20993)
Signed-off-by: Shuaipeng Yu <jackysp@gmail.com>
2020-11-12 13:54:23 +08:00
9660283d2d infoschema: Provide a system table to query placement rules (#20616) 2020-10-27 14:35:38 +08:00
04d38f5a9f server: Add table range api to http status server (#20456)
Signed-off-by: Xiaoguang Sun <sunxiaoguang@zhihu.com>
2020-10-21 12:40:57 +08:00
3d4016fe46 *: change file mode to 0644 (#20443)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-10-14 16:35:31 +08:00
4b98dbaa0a http: add /debug/gogc to set GOGC on the fly (#20247) 2020-09-27 19:54:12 +08:00
c679f847fc *: Bug Fix/CLUSTER_INFO system table may not work after PD is scaled-in (#19355) 2020-09-16 11:50:03 +08:00
cf0297590e server: fix region table http response (#19437)
Signed-off-by: disksing <i@disksing.com>
2020-08-26 20:50:52 +08:00
d99830ae4e server: support new frame item for cluster index (#19283)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-20 15:45:29 +08:00
07ae6078e8 *: support clustered index for fast analyze (#18767) 2020-08-07 19:22:14 +08:00
ceff1fcaf9 *: support generates metrics profile by different type (#18972) 2020-08-06 21:39:23 +08:00
cd3e5ed826 *: update kvproto, PD, BR and unistore dependencies (#18938) 2020-08-05 13:30:26 +08:00
c7c98d7380 ddl: add addingDefinition field for adding partition replica check (#18495) 2020-07-29 17:08:26 +08:00
901d531ec5 server: support partitioned table for table scatter (#17624) (#17864) 2020-07-28 11:56:46 +08:00
9d536c426d *: add HTTP API to generate TiDB metric profile (#18272) 2020-07-14 11:10:47 +08:00
de33068d26 *: refactor NewBackoffer (#18367) 2020-07-07 14:28:43 +08:00
df6898d524 gcworker: export resolveLocks api for test (#18064) 2020-06-19 17:55:35 +08:00
cfbd754653 planner,executor,infoschema: add system table table_storage_stats (#15056) 2020-06-02 23:17:46 +08:00
d5aaaae1b2 tikv: fix region cache do not filter the down peers (#17337) 2020-05-21 20:16:54 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
90bfe841ae server: add drop/truncate table tiflash replica info in /tiflash/replica http api (#15699) 2020-04-24 16:00:48 +08:00
af376db3dc *: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-23 18:55:59 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
a977875623 *: use https protocol between tidb-pd tidb-tidb when cluster-ssl configured (#15342) 2020-03-16 11:36:24 +08:00