f41d8d3d98
*: enable race for sessiontest ( #38013 )
2022-09-21 11:19:05 +08:00
e721af14c4
*: skip TestFlashback in brietest ( #37963 )
2022-09-19 19:51:02 +08:00
1eeedacc60
*: remove goleak's ignoring opencensus top function ( #37908 )
2022-09-19 12:29:00 +08:00
e506a91eda
test: add a memory usage test for real-tikv-test ( #37911 )
...
ref pingcap/tidb#35983
2022-09-19 10:57:00 +08:00
c4638b70fd
*: support metadata lock ( #37393 )
...
ref pingcap/tidb#37275
2022-09-18 20:57:00 +08:00
181fb8e905
br: merge feature branch of ebs-based-br ( #37297 )
...
ref pingcap/tidb#35306
2022-09-18 20:37:00 +08:00
e2abe3df41
ddl: support create index with ingest method ( #37847 )
...
ref pingcap/tidb#35983
2022-09-16 17:18:59 +08:00
77c8b6b5ed
ddl: add failpoints testcase ( #37879 )
...
ref pingcap/tidb#35983
2022-09-16 12:36:59 +08:00
b37a48df18
ddl : Add compatibility testcases ( #37782 )
...
ref pingcap/tidb#35983
2022-09-15 20:14:59 +08:00
6eab1bdd0c
tests: enlarge test timeout for real tikv test ( #37865 )
2022-09-15 18:28:59 +08:00
e9a857756a
executor: optimize point lock read process for rc ( #36834 )
...
close pingcap/tidb#36833
2022-09-15 15:08:59 +08:00
40e67edcca
*: redirect the DML writes to a temp index during creating index ( #37709 )
...
ref pingcap/tidb#35983
2022-09-15 11:22:59 +08:00
f78c148e02
txn: forbid savepoint when lazy uniqueness check is enabled ( #37817 )
...
ref pingcap/tidb#36579
2022-09-15 10:28:58 +08:00
13ac510474
*: change flashback grammar to flashback cluster to timestamp ( #37815 )
2022-09-14 19:12:58 +08:00
884898b812
txn: distinguish write conflict reasons ( #37735 )
...
close pingcap/tidb#37734
2022-09-14 14:46:58 +08:00
57febedb35
*: enable rowserrcheck for nogo ( #37761 )
2022-09-13 14:28:58 +08:00
12ae85f32b
tests: add race for brietest ( #37745 )
2022-09-10 00:16:56 +08:00
d86e7956d4
*: support send flashback cluster RPC ( #37659 )
...
close pingcap/tidb#37651 , close pingcap/tidb#37665
2022-09-09 11:40:56 +08:00
c75969310d
store: sets flagPreviousPresumeKNE after when a stmt finishes which sets Pre… ( #37625 )
...
ref pingcap/tidb#36579
2022-09-06 20:38:55 +08:00
70684d39de
*: enable mock session manager and schemaLease for all unit tests ( #37623 )
2022-09-06 14:04:55 +08:00
c824784c9a
parser: support do some adminStmt in read-only mode ( #37635 )
...
close pingcap/tidb#37631
2022-09-06 13:48:55 +08:00
a942121a34
test: enable race for with real tikv ( #37602 )
2022-09-05 14:38:55 +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
a89ef1f276
*: support ACCOUNT (UN)LOCK when creating/altering user ( #37052 )
...
close pingcap/tidb#35961 , close pingcap/tidb#37051
2022-08-25 16:12:22 +08:00
64c30c0a24
tests/realtikvtest: add tests for adding index ( #37320 )
...
ref pingcap/tidb#35983
2022-08-24 00:04:20 +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
d6d0ce7b10
*: gofmt code for adapting go 1.19 ( #36832 )
...
ref pingcap/tidb#36879
2022-08-11 12:50:49 +08:00
45f82afa20
executor: revert #36498 to avoid perf regression ( #37005 )
...
ref pingcap/tidb#36438
2022-08-10 10:42:48 +08:00
244b353a11
planner: support session level for the variable tidb_enable_prepared_plan_cache ( #36923 )
...
ref pingcap/tidb#36598
2022-08-08 11:18:47 +08:00
0a8611ddfe
sysvar: add parsing phase for setting 'init_connect' ( #36865 )
...
close pingcap/tidb#35324
2022-08-05 12:42:06 +08:00
b364cecdcc
planner: use the unified parameters for plan cache ( #36781 )
2022-08-03 18:35:49 +08:00
fc18381b77
tests: don't clean the whole storage when running a new tikv test ( #36803 )
2022-08-03 17:02:06 +08:00
5b4a82dbf4
*: upgrade bazel timeout ( #36776 )
2022-08-02 11:10:05 +08:00
9a16a8dd19
*: replace defer clean with t.Cleanup ( #36722 )
...
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
ae4db2a319
tests: fix unstable graceshutdown test ( #36670 )
...
ref pingcap/tidb#36669
2022-07-28 19:09:11 +08:00
9d0f5f72d3
*: enable pessimistic transaction on unistore ( #36578 )
2022-07-26 21:07:10 +08:00
c80026e61f
executor: also collect unchanged unique keys for lock ( #36498 )
...
close pingcap/tidb#36438
2022-07-25 21:43:11 +08:00
893a114abc
parser: fix DDL job.Clone() ( #36523 )
...
close pingcap/tidb#36522
2022-07-25 18:31:10 +08:00
63145482b5
session_test: move unnecessary tests out of realtikvtest ( #36482 )
2022-07-25 12:39: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
911e7cc360
*: enable revive ( #35970 )
...
ref pingcap/tidb#35345
2022-07-15 16:03:06 +08:00
fa00fc5cd5
*: set fine grain timeout and update bazel config ( #36220 )
2022-07-15 11:11:05 +08:00
be50ebc68e
test: add paging explain analyze and total_process_keys test ( #36179 )
...
close pingcap/tidb#36178
2022-07-14 18:57:06 +08:00
f581ec3a45
test: remove meaningless test and update bazel ( #36136 )
2022-07-13 16:41:05 +08:00
ffc17f745b
txn: move some methods in session_txn to internal pacakge ( #36034 )
...
close pingcap/tidb#36033
2022-07-13 13:13:05 +08:00
16e5815f18
txn: txnManager providers GetReadSnapshot and GetForUpdateSnapshot. ( #35788 )
...
close pingcap/tidb#35810
2022-07-01 18:12:40 +08:00
556cf75ebd
metric: Add transaction state's metric ( #34845 )
...
ref pingcap/tidb#34456
2022-07-01 16:56:40 +08:00
16df1942d0
*: add timeout for test cases ( #35844 )
2022-06-30 20:18:38 +08:00