Commit Graph

59 Commits

Author SHA1 Message Date
7c56706622 *: support predeclared golangci-lint linter (#32066)
close pingcap/tidb#30733
2022-02-14 10:35:38 +08:00
ad9430039f ddl: Use testify in ddl/placement_sql_test (#32098)
close pingcap/tidb#29107
2022-02-04 01:19:32 +08:00
c589ee5471 *: remove direct placement from models (#31816)
close pingcap/tidb#31427
2022-01-20 00:47:45 +08:00
7fd298d916 *: Remove direct placement in parser (#31768)
close pingcap/tidb#31485
2022-01-19 10:13:45 +08:00
43294a2938 *: Remove column TIBD_DIRECT_PLACEMENT from some sys tables (#31741)
close pingcap/tidb#31426
2022-01-18 09:47:44 +08:00
af0a868716 *: Forbid add a partition with placement on a table which has tiflash replicas (#31729) 2022-01-17 20:28:29 +08:00
4bab2b6dff *: Rename table placement_policies to placement_rules (#31698)
close pingcap/tidb#31425
2022-01-17 16:01:45 +08:00
794e838a1d *: Add tidb_enable_direct_placement to default forbid direct placement (#31623) 2022-01-13 11:07:33 +08:00
c04ea51cac *: Add some tests for CreateTable/SchemaWithInfo for placement (#31602)
close pingcap/tidb#31455
2022-01-12 21:43:42 +08:00
d088e3d6fc *: Add variable tidb_placement_mode and remove placement_checks (#31093)
close pingcap/tidb#31092
2022-01-12 13:03:42 +08:00
fac8bf384f *: Remove variable tidb_enable_alter_placement (#31066)
* *: Remove variable `tidb_enable_alter_placement`
2022-01-06 11:19:39 +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
b076e193b3 executor: Add support information_schema.schemata for placement rule (#29780) 2021-11-16 04:31:06 +08:00
49d995d577 *: Remove ALTER TABLE ... ALTER PARTITION ... (#29556) 2021-11-08 18:05:04 +08:00
42067720e9 ddl: Ensure feature flag support for placement rules [2] (#29258) 2021-11-01 10:34:51 +08:00
xhe
476b8957c2 executor: add show placement scheduling_state (#29251) 2021-10-30 16:28:50 +08:00
84ec6634c4 executor: add placement policy name / direct placement to is.tables/partitions (#28798) 2021-10-19 00:32:42 +08:00
ed7bebded9 infoschema: remove is.placement_policy (#28890) (#28896) 2021-10-18 23:10:43 +08:00
81c3013f25 *: Implementing information_schema.placement_rules (#27478) 2021-10-15 08:49:26 +08:00
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
592469352e ddl: Support ALTER DATABASE Placement Policy/ DirectOptions (#27894) 2021-10-09 14:25:25 +08:00
b63bc2bce4 ddl: implement the placement rules inheritance logic (#28365) 2021-10-08 17:21:24 +08:00
xhe
2a02e6e41d placement: refine the bundle contruction logic (#28450) 2021-10-02 08:36:48 +08:00
61ddc74133 *: Add SHOW PLACEMENT support for tables (#28266) 2021-09-26 14:56:46 +08:00
b8d85beb0d ddl: add schema placement rules (#27969) 2021-09-23 06:52:46 +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
b858ce43c0 config, session: make Local Transaction not to affect Stale Read (#25559) 2021-06-22 17:25:22 +08:00
xhe
10db4531d8 ddl: refactor bundle[1/2] [5/6] (#24008) 2021-06-11 10:44:34 +08:00
a8ea9a75f2 store/tikv: make failpoints without code generations (#25247) 2021-06-10 17:58:29 +08:00
17e8561040 ddl: speed up the execution time of ddl test and Test Chunk #7 ddl-other (#24780) 2021-05-21 14:14:21 +08:00
xhe
031a9fa18b ddl: refactor rule [4/6] (#24007) 2021-05-14 17:05:38 +08:00
xhe
feea6d6424 ddl: refactor constraints [3/6] (#24006) 2021-04-22 12:53:53 +08:00
ef42b8e4b5 store/tikv: new config TxnScope in tikv config (#24035) 2021-04-21 11:55:53 +08:00
xhe
3ec37294f1 ddl: refactor constraint [2/6] (#24005) 2021-04-17 00:49:51 +08:00
e2fdb00e62 config: fix data race caused by config.Labels (#22977) 2021-03-01 16:02:54 +08:00
daf3337a43 oracle: make @@txn_scope only support local and global (#22784) 2021-02-25 15:26:03 +08:00
35534ae752 *: apply golangci-lint to the new code (#22824) 2021-02-24 18:24:03 +08:00
9e3c0649e4 ddl, session: add tidb_enable_exchange_partition variable (#22638) 2021-02-03 20:36:57 +08:00
xhe
d35f3055ea ddl: support placement rules for exchanging partitions (#22380)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-29 15:19:44 +08:00
xhe
fbe1b5acb3 ddl: fix rule cache panic when truncating partitions (#22305)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-25 16:16:38 +08:00
xhe
289bc7e79c ddl: concurrent safe api for using rule bundles cache (#22035)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-13 10:58:58 +08:00
xhe
ba8223fd0a ddl: fix placement rules compatibility with tiflash (#22065)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-12 18:19:30 +08:00
xhe
ffd9011665 ddl: refine placement spec building by yaml (#22018)
Signed-off-by: xhe <xw897002528@gmail.com>
2021-01-05 12:33:14 +08:00
f8bef9b952 session, distsql: make local transaction error msg user-friendly (#22052) 2020-12-31 16:28:33 +08:00
xhe
5886c4b6f6 ddl: check illegal placement label constraint (#22015)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-12-29 11:50:13 +08:00
xhe
3ba64be69f ddl: report error if there is no rule to drop (#22005)
Signed-off-by: xhe <xw897002528@gmail.com>
2020-12-29 11:35:44 +08:00
ce5ce53fa9 ddl, distsql: Support forbiding cross txnScope query all *Reader Executor (#21650) 2020-12-21 15:30:30 +08:00
b74e8b5cb8 ddl: add a switch for alter partition alter placement (#21833)
Signed-off-by: AilinKid <314806019@qq.com>
2020-12-18 10:22:35 +08:00
d19a21d92a ddl, server, session: make gocritic happy (#21544) 2020-12-08 12:09:48 +08:00
0f9d77b07f ddl: Support adding a middle state in altering placement policies (#21356) 2020-12-07 15:12:58 +08:00