Commit Graph

69 Commits

Author SHA1 Message Date
638fa8e22f ddl: fix error that pd rules are not deleted when alter TiFlash replica count to 0 (#32192)
close pingcap/tidb#32190
2022-02-10 17:53:36 +08:00
c30e8320d8 *: correct use require (#31904)
ref pingcap/tidb#31716
2022-02-07 18:11:35 +08:00
6a53a03fad *: fix extra warnings about MockTiFlash (#31916)
close pingcap/tidb#31909
2022-01-26 20:08:45 +08:00
3c797fdc64 *: fix data races in from MockTiFlash (#31836)
close pingcap/tidb#31830
2022-01-25 16:56:11 +08:00
493fe783d7 ddl: Implement basic version of TiFlash replica management (#30842) 2022-01-19 15:13:46 +08:00
xhe
84e0518344 executor: show better placement schedule state (#31073)
close pingcap/tidb#30960
2022-01-09 22:16:38 +08:00
ec4da9840d ddl: Wrap TiFlash and its pd rule management into InfoSyncer (#31315)
ref pingcap/tidb#29924
2022-01-06 13:56:37 +08:00
3de13842b3 test: control log level with environment variables (#30871) 2021-12-24 17:03:48 +08:00
feee7c258a server: Add uptime status var and statistics (#29790)
close pingcap/tidb#8842
2021-12-21 17:53:48 +08:00
89fd69788d *: Retry when placement PutBundles failed (#30590) 2021-12-10 09:35:57 +08:00
7d4895fa96 infosync: close body when ReadAll encounters error (#30462) 2021-12-07 13:27:55 +08:00
0a92c4d133 store: Add metrics for pd api call time (#30062) 2021-12-01 18:49:53 +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
4876801e73 server: let plan replayer support forward request (#29299) 2021-11-02 12:34:51 +08:00
xhe
476b8957c2 executor: add show placement scheduling_state (#29251) 2021-10-30 16:28:50 +08:00
a11bb675a1 *: enable golangci-lint asciicheck and bodyclose (#28756) 2021-10-15 16:03:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
ad9ec4e93c *: Add https/http depending on config for pdapi (#27695) 2021-09-23 13:36:46 +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
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
17523d3da8 ddl: support alter table attributes to add a label rule (#26511) 2021-07-30 17:21:05 +08:00
a6326ccf9c domain/infosync: migrate test-infra to testify (#26288) 2021-07-19 14:03:35 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
39bd181213 *: Upgrade to go 1.16 && remove deprecated io/ioutil (#24527) 2021-05-25 12:07:34 +08:00
a2278dfdf5 oracle: simplify timestamp utilities (#24688) 2021-05-20 02:53:41 +08:00
8fb29eb17e kv: move TxnScope into kv (#24715) 2021-05-19 20:01:42 +08:00
d168fc4e60 infosync, types: Truncate float for TiFlash replica progress (#24299) 2021-04-27 19:19:56 +08:00
6faec865c0 store/tikv:move MaxTxnTimeUse from kv to store/tikv (#23995) 2021-04-16 10:53:51 +08:00
bc37f088ba *: fix some varcheck lint warnings (#23011) 2021-03-01 15:10:54 +08:00
5706c0ca13 domain: fix err check (#22990) 2021-03-01 11:10:53 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
3dff7cd348 store/tikv: resolve variable dependency (#22609)
Signed-off-by: disksing <i@disksing.com>
2021-01-29 15:52:14 +08:00
0ffa605737 metrics: add server info metric (#22556)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2021-01-27 15:14:57 +08:00
22e5ebd310 *: use the Local TSO to update ForUpdateTS (#21490)
Signed-off-by: JmPotato <ghzpotato@gmail.com>
2020-12-04 13:41:47 +08:00
f7f48e3586 infosync: omit the 404 error when /config/placement-rule is not existed (#21247)
Signed-off-by: Ryan Leung <rleungx@gmail.com>
2020-11-26 13:43:22 +08:00
xhe
9cb558d03c ddl: remove useless placement methods (#20636)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-10-28 15:26:15 +08:00
272f964031 executor: support global kill (#17649) 2020-10-27 19:39:20 +08:00
c54833adb6 infosync: fix query metrics_schema panic when start TiDB without PD/TiKV (#20434) 2020-10-27 17:36:23 +08:00
2f067c0542 *: redact arguments for Error (#20436) 2020-10-21 14:44:08 +08:00
xhe
b61f8bb9ed ddl: make use of the new rule cache api[2/3] (#20208)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-09-28 18:44:12 +08:00
xhe
0673f3376f ddl: make use of the new rule cache api[1/3] (#20166)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-09-25 10:27:38 +08:00
xhe
a8b06778c4 ddl: add verification for placement rule request (#20191)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-09-24 10:44:37 +08:00
xhe
934ecf2db1 ddl: add a framework for placement rules cache (#20086) 2020-09-23 14:40:58 +08:00
xhe
82a3724748 ddl: alter rules when truncating partitions (#19505) 2020-09-04 14:54:05 +08:00
xhe
db1385d505 ddl: drop placement rules when drop partition (#19223) 2020-08-25 10:19:05 +08:00