64c30c0a24
tests/realtikvtest: add tests for adding index ( #37320 )
...
ref pingcap/tidb#35983
2022-08-24 00:04:20 +08:00
ed84b0f161
bazel: enable color for all ( #37164 )
2022-08-18 09:36:51 +08:00
9c0d6157e2
executor/splittest: add a benchmark test for locating region cache ( #37132 )
...
close pingcap/tidb#37107
2022-08-16 16:06:51 +08:00
8cbc4a418b
dumpling: better github action ( #37090 )
2022-08-15 17:54:50 +08:00
a7d18d5f2c
makefile: skip realtikvtest in the ut ( #37061 )
2022-08-12 17:00:50 +08:00
fb1b8509eb
*: fix check-2 to bazel ( #37055 )
2022-08-11 19:04:50 +08:00
fa73ba8529
makefile: add bazel realtikvtest ( #37042 )
2022-08-11 14:44:48 +08:00
2873057592
*: do not rely on git to check file perm ( #37008 )
2022-08-10 13:46:47 +08:00
b41d751e75
server: fully support CLIENT_DEPRECATE_EOF ( #36971 )
...
ref pingcap/tidb#32118
2022-08-10 11:34:48 +08:00
4b3563c6cb
*: forbid creation of normal files with exec perm ( #36691 )
2022-08-09 15:42:47 +08:00
952675b540
*: remove redundant steps ( #36871 )
...
close pingcap/tidb#36872
2022-08-04 11:16:06 +08:00
1a0c92b7dd
*: enable makezero for bazel nogo ( #36842 )
...
close pingcap/tidb#36850
2022-08-03 19:30:06 +08:00
5680ce663b
*: bazel build keep same behavior as gobuild ( #36814 )
...
close pingcap/tidb#36821
2022-08-03 18:56:06 +08:00
e4b7e4b068
*: remove golangcilinter to bazel ( #36742 )
...
close pingcap/tidb#36843
2022-08-03 17:42:06 +08:00
d18a8bef8a
*: remove keeping flag for build ( #36809 )
2022-08-02 16:42:06 +08:00
158ba1a1d9
*: enable part revive for all code ( #36703 )
2022-08-01 14:02:06 +08:00
e5c900c8cd
tools: use go install to cleanup go.mod ( #36702 )
2022-07-29 20:57:12 +08:00
0f692b38e2
makefile: remove useless linter and enable revive for distsql ( #36607 )
2022-07-27 20:03:11 +08:00
db179bf721
Makefile: remove target gotest and use ut instead ( #36530 )
...
close pingcap/tidb#36493
2022-07-26 11:55:10 +08:00
bf743a6ca0
*: enable flaky test for all test ( #36385 )
...
close pingcap/tidb#36404
2022-07-22 15:35:09 +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
dff77a9394
*: remove repetitive linter ( #36334 )
2022-07-20 14:31:08 +08:00
db03c0c9e5
*: use generic to improve btree performance ( #35492 )
...
close pingcap/tidb#34248
2022-07-15 17:53:05 +08:00
58e88e7528
dumpling: fix dumpling s3 integration tests ( #36054 )
...
close pingcap/tidb#36080
2022-07-11 14:55:04 +08:00
a1c752795f
*: improve bazel build ( #36009 )
2022-07-07 18:57:02 +08:00
e00ad2b3ef
*: enable errcheck for nogo ( #35704 )
...
ref pingcap/tidb#35345
2022-07-02 22:08:39 +08:00
680b78cc98
lightning: revert new policy of allocating rowid and refine it later ( #35817 )
...
close pingcap/tidb#35816
2022-06-29 16:38:39 +08:00
fe1b9915ba
*: add parser generation command at the root ( #35396 )
...
close pingcap/tidb#29322
2022-06-17 20:44:35 +08:00
674def3b78
lightning: sample files and pre-allocate rowID before restoring chunk ( #34288 )
...
close pingcap/tidb#28776
2022-06-16 19:52:35 +08:00
6432975be3
*: enable race test on util/chunk and update bazel config ( #35235 )
...
ref pingcap/tidb#35234
2022-06-09 16:32:31 +08:00
7846d1e83c
BR: fix Unit test TestconfigureRestoreClient ( #35214 )
...
close pingcap/tidb#35209
2022-06-08 17:00:31 +08:00
2b4a4c6d7a
*: support bazel ( #33691 )
...
close pingcap/tidb#34083
2022-06-07 15:22:30 +08:00
5369b4929b
makefile: remove useless item ( #35186 )
...
ref pingcap/tidb#31716
2022-06-07 14:38:30 +08:00
810f8ae12e
*: remove pingcap/check dependency ( #34734 )
...
close pingcap/tidb#28328
2022-05-17 21:38:37 +08:00
1bb87b291e
Makefile: add --race flag for tool/bin/ut to support race test ( #33765 )
...
close pingcap/tidb#33745
2022-04-07 17:30:32 +08:00
0d70eaa611
Makefile: add ut to 'make dev' ( #33506 )
...
ref pingcap/tidb#30822
2022-03-28 23:34:28 +08:00
c11e650527
*: make golangci-lint work on Go1.18 ( #33081 )
...
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
ca10191377
Makefile, telemetry: fix typo ( #32836 )
...
close pingcap/tidb#32844
2022-03-05 18:25:47 +08:00
c9d8fdc80d
Makefile: run stable cases and unstable cases seperately ( #32525 )
...
close pingcap/tidb#32524
2022-02-22 15:33:43 +08:00
171a354860
metrics/grafana: use jsonnet to generate tidb-summary Grafana json files ( #32333 )
...
ref pingcap/tidb#32194
2022-02-20 17:11:40 +08:00
4d7b4097e1
Makefile: tiny polish the make ut command ( #32244 )
...
close pingcap/tidb#32243
2022-02-11 10:49:36 +08:00
2712dfacf1
Makefile: cleanup a unused makefile target 'devgotest' ( #32114 )
...
close pingcap/tidb#32113
2022-02-07 11:27:34 +08:00
23f7e51ae0
*: Use the new CI script as default ( #31752 )
...
close pingcap/tidb#31893
2022-01-27 21:25:13 +08:00
373f04140d
tools/bin/ut: accelerate building test binary ( #31882 )
...
close pingcap/tidb#31880
2022-01-25 14:40:11 +08:00
409f0919f9
cmd, dumpling: enable golangci-lint check ( #31732 )
...
close pingcap/tidb#31737
2022-01-20 14:33:46 +08:00
a5435cd22e
br: unified the lint rules with tidb. ( #31644 )
...
close pingcap/tidb#31643
2022-01-17 20:03:45 +08:00
3de13842b3
test: control log level with environment variables ( #30871 )
2021-12-24 17:03:48 +08:00
ec55c38d14
Makefile,tools: make CI great again! ( #30828 )
...
close pingcap/tidb#30822
2021-12-23 11:01:47 +08:00
46e67db084
Makefile: add t.Parallel check to ensure tests are run in serial ( #30869 )
2021-12-22 14:35:47 +08:00
b4df7ca4dc
test: make all the tests run in serial ( #30692 )
2021-12-14 18:06:36 +08:00