Commit Graph

69 Commits

Author SHA1 Message Date
c8b5c3bf7f *: stable tiflash test in ddl (#39825)
close pingcap/tidb#39831
2022-12-12 17:40:51 +08:00
75e0885eff *: allow setting placement policy and tiflash replica at the same time in one table (#37252)
close pingcap/tidb#37171
2022-08-23 11:36:20 +08:00
xhe
9a16a8dd19 *: replace defer clean with t.Cleanup (#36722)
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
158ba1a1d9 *: enable part revive for all code (#36703) 2022-08-01 14:02:06 +08:00
b0b1c7cb3e *: close RecordSet (#35341)
ref pingcap/tidb#31716
2022-06-14 09:56:33 +08:00
c56c036d2a *: refactor placement bundle in infoschema (#33967)
close pingcap/tidb#33968
2022-04-15 11:04:35 +08:00
74353709cc *: Fix checkHistoryJobInTest failed when br restore (#33206)
close pingcap/tidb#33205
2022-03-17 17:38:30 +08:00
3f3a061afe ddl: Add CreatePlacementPolicyWithInfo to ddl.DDL (#32986)
close pingcap/tidb#32951
2022-03-11 11:43:51 +08:00
a1d8f2f3ac *: remove ddl dependency (#32910)
ref pingcap/tidb#31716
2022-03-09 08:15:48 +08:00
a023036e42 ddl: migrate test-infra to testify for TestModifyColumn* (#32856)
close pingcap/tidb#32855
2022-03-06 15:23:47 +08:00
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