c384c0a8da
*: Move log category into a real field ( #45058 )
...
close pingcap/tidb#45057
2023-07-04 07:33:44 +00:00
1837efe528
resource_control: use const default resource group name ( #44526 )
...
ref pingcap/tidb#43691
2023-06-13 08:37:15 +00:00
4c83352678
*: Introduce runaway statement in resource group ( #43843 )
...
ref pingcap/tidb#43691
2023-05-31 11:16:42 +00:00
887331d3cf
meta/autoid: enable etcd client auto sync for autoid service ( #43529 )
...
close pingcap/tidb#42643
2023-05-04 09:59:55 +00:00
9cf0ed8e8f
br: pipeline backup schemas ( #43003 )
...
close pingcap/tidb#43002
2023-04-17 22:51:18 +08:00
e942ab6148
kazel: support auto-config shard_count ( #42751 )
...
close pingcap/tidb#42827
2023-04-06 15:46:58 +08:00
73d446e2b0
schema cache: record the ddl timestamp and associate schema cache with the timestamp for stale read ( #42083 )
...
close pingcap/tidb#40740
2023-03-31 11:32:55 +08:00
5c7db3578d
resource_control: init default resource group without ddl ( #42478 )
...
close pingcap/tidb#42403
2023-03-23 14:18:42 +08:00
d579dd1152
meta/autoid: fix AutoID allocation metrics for AUTO_ID_CACHE=1 ( #41506 )
...
close pingcap/tidb#40322
2023-02-16 19:22:09 +08:00
8531018f04
ddl: improve backfill more general ( #41093 )
...
close pingcap/tidb#41002
2023-02-10 23:52:00 +08:00
6adcc6552b
*: use the latest independent resource group manager client ( #41162 )
...
ref pingcap/tidb#38825
2023-02-07 23:55:58 +08:00
00d48f90e6
*: update util/tracing and remove repeated code ( #40825 )
...
close pingcap/tidb#40809
2023-02-06 22:35:58 +08:00
308aaba6b8
meta: fix remove resource group ( #40968 )
...
ref pingcap/tidb#38825
2023-02-06 16:29:57 +08:00
b91e2d9aa1
session: use mDDLTableVersion key to control backfill tables ( #40984 )
...
close pingcap/tidb#40980
2023-02-03 11:45:56 +08:00
76153ab9ff
lint: update config of deprecated linter ( #40763 )
...
ref pingcap/tidb#40786
2023-01-28 11:57:53 +08:00
787cb27265
meta: add lock at autoid.(*allocator).Base() ( #40588 )
...
close pingcap/tidb#40584
2023-01-18 00:43:59 +08:00
b477b1c946
*: Supports create/alter/drop resource group ( #40188 )
...
ref pingcap/tidb#38825
2023-01-09 13:44:22 +08:00
1f344ba108
autoid_service: add unit test for the package ( #40193 )
2023-01-03 19:40:19 +08:00
f7de8beede
*: remove the support of the old ddl framework ( #39684 )
...
ref pingcap/tidb#39824
2022-12-30 18:30:18 +08:00
9488ca9db6
*: Add backfill job related tables and operations ( #39616 )
...
close pingcap/tidb#37122
2022-12-12 14:34:51 +08:00
272d3284ed
meta/autoid: fix AUTO_ID_CACHE 1 setting affect row id allocator performance ( #39534 )
...
close pingcap/tidb#39528
2022-12-02 05:56:00 +08:00
a00f0fe28e
autoid_service,meta/autoid: distinguish retriable error from non-retriable error ( #39215 )
...
close pingcap/tidb#39214
2022-11-30 16:40:01 +08:00
19dae1fa73
*: separate auto_increment ID allocator from _tidb_rowid allocator when AUTO_ID_CACHE=1 ( #39041 )
...
close pingcap/tidb#982
2022-11-29 20:20:00 +08:00
9689b4763d
ddl: improve log messages ( #39376 )
2022-11-29 17:15:59 +08:00
ba16dba2c2
*: use a key to decide mdl is enabled or not ( #39154 )
2022-11-17 18:43:57 +08:00
12d9644144
*: support mysql compatible auto_increment, the client side changes ( #38809 )
2022-11-04 09:36:00 +08:00
f9c7bbccec
*: authentication using tidb_auth_token plugin ( #38773 )
...
close pingcap/tidb#38504
2022-11-04 02:54:00 +08:00
cd531a4a98
*: support auto_random on composite clustered primary key ( #38617 )
...
close pingcap/tidb#38572
2022-10-27 10:45:57 +08:00
4bdd20b540
*: support 2-phases flashback cluster ( #38164 )
...
ref pingcap/tidb#37961 , close pingcap/tidb#38554
2022-10-26 17:01:58 +08:00
400f585578
br/restore: try keep table ID when possible ( #38033 )
...
close pingcap/tidb#38438
2022-10-14 12:21:52 +08:00
8f18fcece0
*: delete mInFlashbackCluster related codes ( #38241 )
...
ref pingcap/tidb#37197
2022-09-30 12:15:45 +08:00
c4638b70fd
*: support metadata lock ( #37393 )
...
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
51e6536c48
ddl, meta: check flashback history time range ( #37737 )
...
close pingcap/tidb#37585
2022-09-14 17:50:59 +08:00
a04000cd89
*: merge feature/flashback-cluster to master ( #37529 )
...
ref pingcap/tidb#37197
2022-09-01 10:58:24 +08:00
d0f8487dea
*: support specifying range bits for auto_random ( #36860 )
...
close pingcap/tidb#32508
2022-08-16 20:54:50 +08:00
d6d0ce7b10
*: gofmt code for adapting go 1.19 ( #36832 )
...
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
70f35617f6
*: optimize DDL history http API, reduce memory ( #36859 )
...
close pingcap/tidb#35838
2022-08-04 11:56:05 +08:00
97f66c3fec
*: use tidb version to decide insert internal DDL into queue or table ( #36782 )
...
close pingcap/tidb#36761
2022-08-02 21:12:06 +08:00
5b4a82dbf4
*: upgrade bazel timeout ( #36776 )
2022-08-02 11:10:05 +08:00
bf743a6ca0
*: enable flaky test for all test ( #36385 )
...
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
04228632f6
table, meta: fix auto_increment initialization for temporary tables ( #36319 )
...
close pingcap/tidb#36224
2022-07-21 00:49:08 +08:00
ab513bf0ca
ddl: support concurrent ddl ( #32169 )
...
* 1. init ddl tables
create tidb_ddl_job, tidb_ddl_reorg, tidb_ddl_history tables with raw meta write, these 3 tables is use to replace the ddl job queue and reorg and history hash table
* 2. setup concurrent ddl env and add ddl worker pool
adds the ddl worker pool definition, the ddl job manager will find a job and ship it to a worker in the worker pool.
Also, this commit provides a sessionctx wrapper, only use in ddl relate. it just wraps begin, commit and execute
* 3. add ddl manager to handle ddl job
* 4. reorg handler for concurrent ddl
just implements the partner of the reorg information.
* 5. manage ddl jobs for concurrent ddl
add the partner of add job, delete job and many others related to history job
because many of the functions need a session now, we just change the caller
* 6. add metrics for concurrent ddl
add metrics
* 7. support multiple tables
* 8. fix test
* 9. migrate ddl between table and queue
support switch between the old and new ddl framework, migrate the existing ddl job between queue and table
* 10. check tikv version and set reorg worker count according cpu count
* *: add featuretag on tests
Signed-off-by: Weizhen Wang <wangweizhen@pingcap.com >
* use a determined table id for 3 tables
* remove ctx value
* add GetSchemaVersionWithNonEmptyDiff function
* address tangenta and zimulala comment
* use only one etcd path
* make ActionRenameTable support multi-schema
* reset sql digest to make top sql work correct
* add comment
* fix test
* remove 0 for schema version lock
Co-authored-by: xiongjiwei <xiongjiwei1996@outlook.com >
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
Co-authored-by: wjHuang <huangwenjun1997@gmail.com >
2022-07-20 21:20:07 +08:00
911e7cc360
*: enable revive ( #35970 )
...
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
26e117056b
ddl: move ddl test ( #36005 )
2022-07-07 17:43:02 +08:00
ec9f201294
topsql: compress plan instead of dropping it ( #35973 )
...
ref pingcap/tidb#35964
2022-07-06 16:03:02 +08:00
55aea2787d
*: use pdqsort to improve sort performance ( #34404 )
...
close pingcap/tidb#34250
2022-07-06 13:41:02 +08:00
637d00c05a
ddl: refine history job code ( #35967 )
2022-07-06 11:43:02 +08:00
65e0b8e541
client: KV requests with source label ( #34833 )
...
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
d3e9114f44
*: enable more flaky test, enable more shard_count and update bazel config ( #35300 )
...
ref pingcap/tidb#35247
2022-06-13 17:52:32 +08:00
2b4a4c6d7a
*: support bazel ( #33691 )
...
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00