Commit Graph

215 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
c589ee5471 *: remove direct placement from models (#31816)
close pingcap/tidb#31427
2022-01-20 00:47:45 +08:00
493fe783d7 ddl: Implement basic version of TiFlash replica management (#30842) 2022-01-19 15:13:46 +08:00
f637fedac3 *: flashback/recover a table will clear its placement settings (#31670)
close pingcap/tidb#31668
2022-01-14 11:07:42 +08:00
xhe
4f30a14256 ddl: support batch create table (#28763) 2021-12-31 17:13:50 +08:00
6e6db1fd35 binlog: allow multiple ddl targets (#30904) 2021-12-24 12:55:47 +08:00
b53f3499a6 *: when placement conflicts with tiflash, cancel the job (#30945) 2021-12-23 01:01:48 +08:00
b9d9f19bd1 *: forbid set tiflash replica count for a placement table (#30844)
close pingcap/tidb#30741
2021-12-20 16:47:46 +08:00
ad740a694a *: placement policy ref will be converted to direct options when recover or flashback table (#30705) 2021-12-16 20:38:36 +08:00
93e2c12346 *: Rename some names of placement ddl operation (#30622) 2021-12-11 00:41:57 +08:00
89fd69788d *: Retry when placement PutBundles failed (#30590) 2021-12-10 09:35:57 +08:00
b1352ded03 *: postpone drop bundle for truncate/drop partition/drop schema to gc (#29810) 2021-11-18 12:03:47 +08:00
199d73438b *: Move some bundle methods to bundle package and add some tests (#29691) 2021-11-15 14:27:06 +08:00
a237e41d9f ddl : support alter table xx nocache operations switch a table into uncacheable (#29621) 2021-11-11 17:19:06 +08:00
4c929c5b04 *: remove old placement code for truncate table (#29596) 2021-11-09 20:03:06 +08:00
01e4bdd723 ddl : ddl forbid partition table switch into cache and add view feature test (#29256) 2021-11-01 19:00:51 +08:00
80e14b4bff ddl: rename region label to attributes (#29174) 2021-11-01 12:14:50 +08:00
ac2c6f8d87 ddl : ddl forbid stale read for cache table and support history read (#29173) 2021-10-29 17:08:49 +08:00
454dcd1eab *: fix some placement inherent and alter bugs (#29099)
Co-authored-by: Arenatlx <314806019@qq.com>
2021-10-28 10:56:58 +08:00
1777bd0e86 ddl : support alter table xx cache operations (#29022) 2021-10-25 22:08:48 +08:00
1bde14a6e9 *: Finish alter placement for objects (#28982) 2021-10-25 20:54:49 +08:00
7c1b321dbb ddl: postpone cleaning placement rules to gc-worker (#28687) 2021-10-14 11:17:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
267a3b8162 executor: add auto id allocator execution runtime stats (#28013) 2021-10-08 17:35:24 +08:00
b63bc2bce4 ddl: implement the placement rules inheritance logic (#28365) 2021-10-08 17:21:24 +08:00
6c449825d0 executor, ddl: support database placement option and partition placement option (#28025) 2021-10-08 13:59:24 +08:00
8f61a69e99 ddl: add index to support rule override (#27660) 2021-09-26 14:20:46 +08:00
d14566c7ed ddl: add sync bundles logic for creating and droping (#28037) 2021-09-24 00:22:46 +08:00
d7bb71bc1f ddl, meta: refactor auto IDs metadata interface (#27721) 2021-09-10 13:56:39 +08:00
6aec001345 ddl: support table placement option (#27799) 2021-09-07 22:54:57 +08:00
04684e6e58 ddl: support recover/flashback table for label rules (#27073) 2021-09-07 15:40:58 +08:00
e9038d0ec4 ddl: refactor and add some unit tests for label rules (#27715) 2021-09-06 11:44:57 +08:00
c99b125191 ddl: support rename table for label rules (#27020) 2021-09-01 09:58:13 +08:00
777b40cb8c *: refactor Allocator.Rebase() interface (#27649) 2021-08-30 13:10:11 +08:00
9593b5479a ddl: use default keyword to reset the rule (#27184) 2021-08-27 09:08:05 +08:00
be4cdb28c3 ddl: support truncate table for label rules (#26932) 2021-08-23 14:40:03 +08:00
e4a7c2d8e3 ddl: support alter table partition attribute to add label rules (#26705) 2021-08-17 10:11:59 +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
4684a7f40e ddl: support drop table for label rule (#26630) 2021-08-09 13:59:14 +08:00
17523d3da8 ddl: support alter table attributes to add a label rule (#26511) 2021-07-30 17:21:05 +08:00
2b192e3149 topsql: refine collect information for DDL and internal SQL (#26047) 2021-07-15 16:13:36 +08:00
a3919e3af3 ddl, meta: support altering auto_increment ID to a smaller value (#25868) 2021-07-13 17:39:33 +08:00
a6984c5044 *: update client-go and update test flag (#25967) 2021-07-06 19:07:29 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
xhe
10db4531d8 ddl: refactor bundle[1/2] [5/6] (#24008) 2021-06-11 10:44:34 +08:00
d5e0ed0aae ddl: ban the setting replica for tables in system database (MySQL) (#24745) 2021-05-24 22:13:33 +08:00
xhe
2ca98e393c *: compatibility with staleread (#24285) 2021-05-17 19:53:39 +08:00
75fcd6586b ddl: forbid partition on temporary mode before put into queue (#24565) 2021-05-13 02:19:39 +08:00
bc4a38c9b9 ddl: add partition compatibility for temporary table (#24406) 2021-05-06 20:27:52 +08:00
080ed4ee7b store/tikv:move mockCommitErrorEnable from kv to tikv since it is only used in tikv (#23355)
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com>
Co-authored-by: disksing <i@disksing.com>
2021-03-17 17:13:30 +08:00