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
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
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
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
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
031a9fa18b
ddl: refactor rule [4/6] ( #24007 )
2021-05-14 17:05:38 +08:00
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
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
d35f3055ea
ddl: support placement rules for exchanging partitions ( #22380 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2021-01-29 15:19:44 +08:00
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
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
ba8223fd0a
ddl: fix placement rules compatibility with tiflash ( #22065 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2021-01-12 18:19:30 +08:00
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
5886c4b6f6
ddl: check illegal placement label constraint ( #22015 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2020-12-29 11:50:13 +08:00
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
15ec9a613e
ddl: revise TestTxnScopeConstraint ( #21420 )
2020-12-02 11:29:48 +08:00
b085cad80c
ddl, infoschema: Support aborting the transaction when the placement rules are changed ( #21116 )
2020-11-23 14:06:24 +08:00
863117ba05
session: Check the partition placement constraint of local transactions ( #21039 )
...
Signed-off-by: Song Gao <disxiaofei@163.com >
2020-11-17 14:28:27 +08:00
657ad738bc
ddl: defining the placement rule of a leader requires REPLICAS option ( #20813 )
2020-11-05 14:08:01 +08:00
86188c6a9c
ddl: stable placement cache test ( #20770 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2020-11-03 10:55:25 +08:00
c5d0f40772
ddl: handle placement rule cache for drop/truncate/recover/flashback table ( #20622 )
...
Signed-off-by: xhe <xw897002528@gmail.com >
2020-11-02 16:03:57 +08:00
db1385d505
ddl: drop placement rules when drop partition ( #19223 )
2020-08-25 10:19:05 +08:00
a4d26bd57c
ddl: support DROP PLACEMENT clause ( #19174 )
2020-08-14 15:37:54 +08:00
a0160612a8
ddl: support ALTER PLACEMENT clause ( #19065 )
...
* ddl: check count here
* ddl: drop all rules that will be overrided
* ddl: change ID format
* ddl: local placement deifinition
* ddl: support `ALTER PLACEMENT` clause
* ddl: add test cases
* ddl: fix ID format
* ddl: copy comments too
* ddl: allow ignore replicas with dict constraints
* ddl: rename COUNT to REPLICAS
* ddl: clone method for RuleOp
* ddl: checkPlacementSpec => buildPlacementSpec
* ddl: remove TODO
It is possible to incrementally add replicas. Consider drop later. Let
us support it correctly first.
* ddl: ID format
Datbase/schema ID is added back. A common prefix will improve the
efficience of PD batch operation. Drop a whole db/table will only need
one loop for rules.
* ddl: move const/util to placement package
* ddl: fix test
* ddl: fix format error
* ddl: error check fix
* ddl: use an explicit condition flag
* ddl: adapt parser changes
* ddl: fix go.mod/simplify code path
* ddl: go mod tidy
* ddl: improve tests
* ddl: return new rules instead of appending
* ddl: return constraints instead of appending
* ddl: fix test
* ddl: one more test
* ddl: remove rules rollback, meaningless
* ddl: fix slice
* ddl: add period to comments
* Update ddl/ddl_api.go
Co-authored-by: tangenta <tangenta@126.com >
* ddl: remove unused arguments
* infosync: do not request PD if no ruleOperations
* ddl: a new test suite
Co-authored-by: tangenta <tangenta@126.com >
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com >
2020-08-11 15:05:05 +08:00