Commit Graph

433 Commits

Author SHA1 Message Date
0a92c4d133 store: Add metrics for pd api call time (#30062) 2021-12-01 18:49:53 +08:00
7a8c7f89ce server: support download optimize trace file (#30150) 2021-11-26 16:53:51 +08:00
c48db39846 *: support renew lease for read operation on cached table (#29840) 2021-11-22 22:37:49 +08:00
b59d601cc5 *: fix unstable test TestStoreGlobalConfig (#29900) 2021-11-19 11:29:48 +08:00
d3a4187f7e *: Make PD placement api as an interface and add some mock codes (#29696)
* *: Make PD placement api as an interface and add some mock codes

* modify

* add comments

Co-authored-by: Arenatlx <314806019@qq.com>
2021-11-15 14:08:56 +08:00
3d9196ddea *: allow setting @@tidb_tso_client_batch_max_wait_time to a float millisecond (#29699) 2021-11-14 03:29:05 +08:00
93451798a0 domain: fix bug that after 'skip-grant-table', set password doesn't take effect immediately (#29668) 2021-11-11 15:43:05 +08:00
dc67b57c5e *: fix nil pointer panic of some operations when skip-grant-table is true (#29358) 2021-11-03 15:09:00 +08:00
4876801e73 server: let plan replayer support forward request (#29299) 2021-11-02 12:34:51 +08:00
1f39a9f81d *: add two session variables to control the PD client option (#29120) 2021-10-31 00:12:49 +08:00
xhe
476b8957c2 executor: add show placement scheduling_state (#29251) 2021-10-30 16:28:50 +08:00
d6895952df planner: fix outerJoinEliminator couldn't be applied in some cases (#29061) 2021-10-29 12:24:49 +08:00
19a2b3c311 *: store some global variable into PD for global config (#28788) 2021-10-26 19:34:48 +08:00
50b882004c *: set character_set_client for parser properly (#28925) 2021-10-25 20:32:48 +08:00
6219010c35 domain: adjust initialization sequence of domain-reload and ddl-start to avoid infoCache nil (#28945) 2021-10-21 18:08:46 +08:00
a11bb675a1 *: enable golangci-lint asciicheck and bodyclose (#28756) 2021-10-15 16:03:26 +08:00
fa82cd47ec domain, session: add plan replayer gc (#28799) 2021-10-15 11:13:27 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
e52dbd6b7d domain, executor: make flush privilege propagate via etcd (#27958) 2021-09-30 13:34:47 +08:00
d14566c7ed ddl: add sync bundles logic for creating and droping (#28037) 2021-09-24 00:22:46 +08:00
ad9ec4e93c *: Add https/http depending on config for pdapi (#27695) 2021-09-23 13:36:46 +08:00
b8d85beb0d ddl: add schema placement rules (#27969) 2021-09-23 06:52:46 +08:00
89a5e1b221 domain, session: use session pool for sv cache (#27967) 2021-09-17 10:32:42 +08:00
310fef18ed *: fix memory leak after dom.Close (#28027) 2021-09-14 15:54:41 +08:00
e9038d0ec4 ddl: refactor and add some unit tests for label rules (#27715) 2021-09-06 11:44:57 +08:00
449e83236d infosync: support label rule manager (#27551) 2021-08-26 17:18:04 +08:00
be4cdb28c3 ddl: support truncate table for label rules (#26932) 2021-08-23 14:40:03 +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
6b9e25bafa domain: call the cancel function of bind owner only once (#27109) 2021-08-16 16:03:59 +08:00
73bb7dd2c6 *: Annotations and fixes related to gosec (#26907) 2021-08-09 22:27:15 +08:00
4684a7f40e ddl: support drop table for label rule (#26630) 2021-08-09 13:59:14 +08:00
7f5c0fa2e8 ddl: support showing label rule through information schema table (#26637) 2021-08-09 12:39:14 +08:00
01a87e3257 *: solve cloud tikv disk full problem (#26302) 2021-08-08 13:21:13 +08:00
3db4ab60d3 bindinfo: garbage collect deleted bind records (#26206) 2021-08-04 16:59:07 +08:00
c13d51e5fd domain, executor: fix sysvar cache race (#26714) 2021-08-04 13:23:06 +08:00
bf7e353f68 domain: migrate test-infra to testify (part 2) (#26752) 2021-08-03 17:25:07 +08:00
51724f8e95 domain: migrate test-infra to testify (part 1) (#26751) 2021-08-02 19:01:06 +08:00
0bcf830fab varaible: fix the new session can't see the instance-level variable store-limit (#26649) 2021-08-02 18:31:06 +08:00
92c8dcd905 domain: migrate test-infra to testify (part 0) (#26699) 2021-08-02 16:25:06 +08:00
6eaac8cc5b domain: 'load privilege failed' when autocommit is off (#26691) 2021-08-02 16:05:06 +08:00
17523d3da8 ddl: support alter table attributes to add a label rule (#26511) 2021-07-30 17:21:05 +08:00
xhe
672f3fad63 domain: revert unintended changes (#26341) 2021-07-19 18:17:34 +08:00
6314233cae *: add table storage info status api (#22859) 2021-07-19 15:29:34 +08:00
a6326ccf9c domain/infosync: migrate test-infra to testify (#26288) 2021-07-19 14:03:35 +08:00
4f26765194 privilege: add restricted read only (#25340) 2021-07-16 12:09:33 +08:00
35e19eff7f executor: ingore locks of temporary table for point_get/batch_point_get/select_lock (#26267) 2021-07-15 18:05:33 +08:00
7e53276296 domain,session: fix annoying log when running session bench test (#25796) 2021-06-29 23:21:25 +08:00
9250b7b0df domain: fix the @@tidb_enable_local_txn sync bug (#25682) 2021-06-23 01:21:22 +08:00
3ed698259d infoschema: maintain the snapshotTS in the infocache (#25322) 2021-06-11 22:42:35 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00