28d0325ae1
server: support getting the MVCC of the temporary index ( #40830 )
...
close pingcap/tidb#40826
2023-01-30 14:13:54 +08:00
192eae279b
binlog: update binlog status from Skippping to On when recover binlog ( #32173 )
...
close pingcap/tidb#32172
2022-11-14 11:37:55 +08:00
835518122e
DDL: Remove TiFlash replica progress etcd dependency ( #38564 )
...
close pingcap/tidb#38464
2022-10-31 13:37:59 +08:00
636a363f7b
server: support dumpPartitionStats param for statsHandler ( #38190 )
...
ref pingcap/tidb#37977
2022-10-28 12:37:58 +08:00
c52b5a70d1
DDL: delete partition table tiflash replica progress from ETCD when truncate table, drop table, set tiflash replica 0 ( #38551 )
...
close pingcap/tidb#38550
2022-10-20 18:15:55 +08:00
dd65832136
*: add context for hook of getting/setting variables ( #38379 )
...
close pingcap/tidb#38378
2022-10-18 16:43:53 +08:00
bcd8a3ce95
server: fix http schema table_id api with partition ID ( #37845 )
...
close pingcap/tidb#37844
2022-09-26 13:01:43 +08:00
319b32005e
DDL: update TiFlash replica progress after available ( #37766 )
...
ref pingcap/tiflash#4902
2022-09-22 20:11:03 +08:00
d6d0ce7b10
*: gofmt code for adapting go 1.19 ( #36832 )
...
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
95e4df86d7
server: add a http interface to change labels ( #36845 )
...
ref pingcap/tidb#35926
2022-08-04 18:08:06 +08:00
70f35617f6
*: optimize DDL history http API, reduce memory ( #36859 )
...
close pingcap/tidb#35838
2022-08-04 11:56:05 +08:00
158ba1a1d9
*: enable part revive for all code ( #36703 )
2022-08-01 14:02:06 +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
114c922bc8
*: enable gosec ( #35873 )
...
ref pingcap/tidb#35345
2022-07-05 19:39:01 +08:00
65e0b8e541
client: KV requests with source label ( #34833 )
...
close pingcap/tidb#33963
2022-07-01 19:46:39 +08:00
df9b54bcb3
txn, session: Add (cluster_)trx_summary table ( #28835 )
...
ref pingcap/tidb#34457
2022-06-23 11:16:36 +08:00
7f023bd61b
ddl: wrap some functions for ddl job ( #34920 )
...
close pingcap/tidb#34919
2022-05-29 15:38:26 +08:00
73f3435346
ddl: move some admin function to ddl ( #34527 )
...
close pingcap/tidb#34526
2022-05-10 18:14:34 +08:00
c16291392a
*: replace types.NewFieldTypeBuilder() API with NewFieldTypeBuilderP() to avoid misuse ( #34494 )
...
close pingcap/tidb#34490
2022-05-09 22:00:33 +08:00
0d5ac6f3cb
sysvar, config: mapping config settings to system variables. ( #33279 )
...
ref pingcap/tidb#32887
2022-04-29 13:20:52 +08:00
1bf64c60f4
*: Refactor FieldType structure ( #33569 )
...
close pingcap/tidb#32116
2022-04-26 19:28:51 +08:00
c11e650527
*: make golangci-lint work on Go1.18 ( #33081 )
...
close pingcap/tidb#33080
2022-03-15 22:43:52 +08:00
9c64224c49
*: Reduce data inconsistencies ( #31547 )
...
ref pingcap/tidb#26833
2022-02-11 13:51:36 +08:00
a0e31aa987
*: fix data race in the CheckMb4ValueInUTF8 ( #31781 )
...
close pingcap/tidb#31780
2022-01-19 17:33:45 +08:00
f672f5c8f1
server: improve the memory usage of schemaHandler's ServeHTTP to avoid OOM ( #30970 )
...
close pingcap/tidb#30969
2021-12-29 20:09:50 +08:00
5e031442d9
executor: enhance the strategy of the sampling rate calculation ( #31016 )
...
ref tikv/tikv#11669
2021-12-28 20:47:49 +08:00
55a38a1c76
*: tiny clean up the RecordSet NewChunk() method ( #29232 )
2021-11-02 20:02:51 +08:00
0e16830288
server: add plan replayer dump http api ( #29214 )
2021-10-29 16:40:51 +08:00
94e30df8e2
parser: fix compiling, add unit tests ( #28700 )
2021-10-11 23:15:25 +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
34d43fb8c5
*: convert tikv.error which is returned by RegionCache.Locate to tidb.error ( #26647 )
2021-07-28 10:26:16 +08:00
2b461e0ea7
executor: Support collecting information about retryable deadlocks to information_schema.deadlocks ( #26140 )
2021-07-22 17:54:14 +08:00
6314233cae
*: add table storage info status api ( #22859 )
2021-07-19 15:29:34 +08:00
cc5e161ac0
*: use tikv/client-go/v2 ( #25359 )
2021-06-11 17:24:35 +08:00
c44b8d118b
config: make deadlock history's max size configuable ( #24925 )
2021-06-03 12:26:26 +08:00
bbd5b32c2f
*: clean up the logging component ( #23534 )
2021-06-01 10:43:37 +08:00
0199b402e4
server/http_handler: use func in helper instead of use tikvrpc directly ( #24823 )
2021-05-25 17:23:34 +08:00
1c4fbfce50
server: close the temporary session in HTTP API to avoid memory leak ( #24339 )
2021-05-13 18:47:39 +08:00
4127c6b19a
server: add MVCC API for secondary index with common handle ( #24436 )
2021-05-07 20:18:51 +08:00
a6bde1e4ef
ddl: add http api to set customized ddl hook for remote ticase test ( #24198 )
2021-04-27 14:57:56 +08:00
67e63d9ffa
variable: merge Bool{On,Off} with {On,Off} ( #24218 )
2021-04-23 13:09:54 +08:00
1e2cbf9a22
store/tikv: use []byte instead of kv.Key in package store/tikv ( #23859 )
2021-04-13 12:39:52 +08:00
24a53c392f
tikv/region_cache:use []byte instead of kv.Key in KeyLocation ( #23957 )
2021-04-13 10:53:50 +08:00
01be9ce226
server: add HTTP API to enable/disable async commit and 1PC ( #23115 )
2021-03-09 11:48:54 +08:00
602bcd2e40
*: fix some structcheck lint warnings ( #22983 )
2021-03-02 23:12:54 +08:00
4e44674615
server: support MVCC-get HTTP API for clustered index ( #22904 )
2021-03-01 19:48:54 +08:00
8357f809ff
*: remove some useless codes and do tiny update ( #22972 )
2021-02-26 19:14:53 +08:00
8ea5930ea8
*: separate use of kv.Storage and tikv.Storage ( #22891 )
...
* *: separate use of kv.Storage and tikv.Storage
Signed-off-by: disksing <i@disksing.com >
* fix compile
Signed-off-by: disksing <i@disksing.com >
Co-authored-by: Ti Chi Robot <71242396+ti-chi-bot@users.noreply.github.com >
Co-authored-by: Shirly <wuxuelian@pingcap.com >
2021-02-24 17:54:03 +08:00
b35e15c8cf
store:move tikv/gcworker to store/gcworker ( #22678 )
...
Signed-off-by: shirly <AndreMouche@126.com >
2021-02-03 15:16:28 +08:00
7a275a77bb
store/tikv: move EtcdBackend out ( #22676 )
...
Signed-off-by: disksing <i@disksing.com >
2021-02-03 14:59:57 +08:00