Commit Graph

141 Commits

Author SHA1 Message Date
280b773206 ddl: prevent dropping in-use resource group (#40716)
ref pingcap/tidb#38825
2023-01-19 18:53:49 +08:00
bbd1995ea3 ddl, lightning: support detecting duplicate keys in different batch (#40701)
close pingcap/tidb#40698
2023-01-19 14:29:49 +08:00
b8e5460a84 *: add new global variable tidb_enable_resource_control as a switch (#40440)
ref pingcap/tidb#38825
2023-01-12 22:01:46 +08:00
caffd8d6c5 ttl: forbid creating/altering a table with TTL options when pk contains float/double column (#40487)
* ttl: forbid create/alter a table with TTL options when pk contains float/double column

* format

* update

* update

* update

Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io>
2023-01-11 16:22:33 +08:00
db53a42eea errno, store: fix ErrPDServerTimeout arguments (#40468)
close pingcap/tidb#40439
2023-01-11 10:30:23 +08:00
b477b1c946 *: Supports create/alter/drop resource group (#40188)
ref pingcap/tidb#38825
2023-01-09 13:44:22 +08:00
b226dfcb05 ttl: add ttl_job_interval attribute and remove tidb_ttl_job_interval variable (#40033)
close pingcap/tidb#40028
2023-01-06 17:56:21 +08:00
c8124a0595 ddl: Disable RENAME COLUMN for partitioning columns | tidb-test=pr/2054 (#40151)
close pingcap/tidb#40150
2022-12-29 09:18:16 +08:00
83d275cc53 ddl: Refine the error message to compatible with MySQL when drop a partition table partition key column (#38740)
close pingcap/tidb#38739
2022-12-27 18:24:16 +08:00
f9d4a54b08 expression: impl cast as array function (#40076)
close pingcap/tidb#40128
2022-12-26 20:40:15 +08:00
53edd892a3 ddl: fix issue of partition table with foreign key and add more test case (#40122) 2022-12-23 13:04:14 +08:00
b4f500e018 ddl: check the limitation when creating multi-valued index (#39818)
close pingcap/tidb#40086
2022-12-21 18:08:55 +08:00
d045b41d87 ttl,ddl: disable ttl for fk and temp table (#39581)
close pingcap/tidb#39351, close pingcap/tidb#39364
2022-12-02 18:22:01 +08:00
824ef608c7 *: support password expiration policy (#39035)
ref pingcap/tidb#9709, close pingcap/tidb#38936
2022-12-02 16:36:02 +08:00
cabc01825d ddl: improve the log messages and refine code (#39456) 2022-12-02 15:02:01 +08:00
40d1ddb364 *: support password reuse policy (#39162)
ref pingcap/tidb#38937
2022-12-02 09:58:01 +08:00
328aef88b0 lightning: add precheck about downstream CDC/PiTR (#39338)
close pingcap/tidb#39346
2022-11-30 13:17:59 +08:00
d2ace99d68 br: leader selection with tikv store balance score during the ebs data restore (#39402)
close pingcap/tidb#39404
2022-11-29 21:29:59 +08:00
7f632be1d5 ddl: add ttl related jobs / execution (#39298)
close pingcap/tidb#39269, close pingcap/tidb#39270, close pingcap/tidb#39271
2022-11-28 10:42:00 +08:00
c34ee821a2 errno, statistics: show partition name whose stats are missing when merging global stats fails (#39348) 2022-11-25 18:31:59 +08:00
e205f931aa *: support password validation options and variables (#38953)
ref pingcap/tidb#38924, close pingcap/tidb#38928
2022-11-24 20:25:59 +08:00
97add26c8f json: support array range selection and from last selection (#38584)
close pingcap/tidb#38583
2022-11-01 18:25:59 +08:00
43468983d9 *: add foreign key cascade delete when execute delete statement (#38377)
close pingcap/tidb#38376
2022-10-21 11:27:54 +08:00
f1b7aa1187 txn: add db name and table name in write conflict error message (#38040)
close pingcap/tidb#37257
2022-10-11 16:19:51 +08:00
d53a2ea21d ddl: fix issue when add foreign key ddl job (#38206)
close pingcap/tidb#38168
2022-09-28 17:45:45 +08:00
858b8a38ea *: add foreign key constraint check when execute insert statement (#37466)
close pingcap/tidb#37465
2022-09-24 00:41:43 +08:00
181fb8e905 br: merge feature branch of ebs-based-br (#37297)
ref pingcap/tidb#35306
2022-09-18 20:37:00 +08:00
6d0bbe8985 ddl: add foreign key check when drop column (#37843)
close pingcap/tidb#37842
2022-09-16 15:39:01 +08:00
9a8272dc71 ddl: add foreign key check when modify column (#37823)
close pingcap/tidb#37821
2022-09-15 19:10:59 +08:00
f80a42d2d6 ddl: check index is needed in foreign key when drop index (#37813)
close pingcap/tidb#37812
2022-09-15 14:44:59 +08:00
3f77284ee4 ddl: add foreign key check when execute drop/truncate table (#37773)
close pingcap/tidb#37772
2022-09-14 16:50:59 +08:00
884898b812 txn: distinguish write conflict reasons (#37735)
close pingcap/tidb#37734
2022-09-14 14:46:58 +08:00
dfde95cb93 expression: check json max depth (#37759)
close pingcap/tidb#37292
2022-09-13 17:36:58 +08:00
9036de3394 *: support create table with foreign key and maintain foreign key reference (#37148)
close pingcap/tidb#37147
2022-09-07 13:22:56 +08:00
872898af43 expression: json_merge_xx should check argument type (#37575)
close pingcap/tidb#37504
2022-09-05 11:46:55 +08:00
2b29cd5832 lightning: mydumper loader supports max scan files option (#37524)
close pingcap/tidb#37523
2022-09-02 10:28:24 +08:00
835922a5cd txn: support skipping locking of some INSERT in pessimistic transactions (#36473)
close pingcap/tidb#36579
2022-09-01 18:34:25 +08:00
a2cfa5379b *: fix a bug found by jdbc_test (#37492)
close pingcap/tidb#37493
2022-08-31 14:14:24 +08:00
cf69205919 expression: refactor json path syntax and make it compatible with mysql (#37074)
ref pingcap/tidb#37133
2022-08-23 11:14:20 +08:00
8511b9b5ac lightning: Fix panic when downstream table schema has changed (#36805)
close pingcap/tidb#34163
2022-08-19 10:40:52 +08:00
ad0f3ddcd7 ddl: forbid exchange partition with temporary table (#37204)
close pingcap/tidb#37201
2022-08-18 17:54:52 +08:00
xhe
4b3563c6cb *: forbid creation of normal files with exec perm (#36691) 2022-08-09 15:42:47 +08:00
92c0050aae lightning: retry on error on tikv ingest like 'stale command' (#36878)
close pingcap/tidb#36877
2022-08-04 12:22:06 +08:00
6a6fa8a882 ddl: Add sql_require_primary_key sysvar (#36146)
close pingcap/tidb#28544
2022-08-03 17:20:06 +08:00
fc217d432c config, sysvar: add config instance.enable_ddl and sysvar tidb_enable_ddl (#35425)
ref pingcap/tidb#34960
2022-08-01 15:02:06 +08:00
0f93fd4d39 lightning: add ReadIndexNotReady as retryable ingest error (#36574)
close pingcap/tidb#36566
2022-07-26 21:27:11 +08:00
1883a4444d br: restore privilege tables on full restore by default (#35397)
close pingcap/tidb#35395
2022-07-18 13:11:06 +08:00
f675cf619b ddl: ban set tiflash mode under unsupported case (#36211)
ref pingcap/tidb#35850
2022-07-18 09:53:06 +08:00
354cb537aa backup-log: support the new feature PiTR- backup/restore log at the tikv endpoint (#36031)
close pingcap/tidb#29501
2022-07-11 18:17:05 +08:00
c836501f89 server, session: report an error when the session states cannot be fetched (#35892)
close pingcap/tidb#35866
2022-07-04 12:31:00 +08:00