c8cb3c96c8
planner: update plan cache key and value ( #36779 )
...
ref pingcap/tidb#36598
2022-08-02 15:26:05 +08:00
671fe70876
executor: grant privilege to table now check table existence use case insensitive ( #36778 )
...
close pingcap/tidb#34610
2022-08-02 13:06:05 +08:00
5b4a82dbf4
*: upgrade bazel timeout ( #36776 )
2022-08-02 11:10:05 +08:00
0b1d3e0da3
*: cleanup sysvar API usage ( #36640 )
...
close pingcap/tidb#36639
2022-08-02 07:54:04 +08:00
cc2fcfceca
ddl/schematracker: fix SetDDL will cause data race ( #36768 )
...
close pingcap/tidb#36766
2022-08-02 00:24:05 +08:00
9a16a8dd19
*: replace defer clean with t.Cleanup ( #36722 )
...
close pingcap/tidb#36721
2022-08-01 17:34:05 +08:00
93a31f0f1c
ddl: fix inaccurate row_count for admin show ddl jobs ( #36716 )
...
close pingcap/tidb#25968
2022-08-01 16:40:05 +08:00
158ba1a1d9
*: enable part revive for all code ( #36703 )
2022-08-01 14:02:06 +08:00
e7ee7e2280
executor: refine the error message for TABLE_STORAGE_STATS ( #36464 )
...
close pingcap/tidb#36403
2022-08-01 11:42:05 +08:00
d021e363a4
executor: let plan replayer support cte ( #36714 )
...
close pingcap/tidb#36712
2022-08-01 11:24:05 +08:00
1cd8c31b1a
session: fix auto commit variable change effect on transaction commit ( #36631 )
...
close pingcap/tidb#36581
2022-08-01 09:36:04 +08:00
be102a3d55
*: fix timestamp conversion ( #36705 )
...
close pingcap/tidb#36707
2022-07-29 19:05:12 +08:00
c3180e0047
executor: support trace with tikv exec details ( #36638 )
...
ref pingcap/tidb#34106
2022-07-29 14:33:13 +08:00
8b919bf893
executor,store/copr: fix index merge, distsql request's key ranges should be sorted ( #36633 )
...
close pingcap/tidb#36632
2022-07-29 13:49:12 +08:00
6b83cdbea2
executor: handle NULL values properly when LOAD DATA INFILE ( #36124 )
...
close pingcap/tidb#34358
2022-07-29 13:03:12 +08:00
11e9d8519d
planner: set/clear not null flag when create a new baseBuiltinFunc ( #36518 )
...
close pingcap/tidb#36517
2022-07-29 10:31:11 +08:00
bce6901705
planner: forbid load data with empty field terminator ( #36500 )
...
close pingcap/tidb#33298
2022-07-28 23:39:11 +08:00
6baea73277
*: should replace errors.New(fmt.Sprintf(...)) with fmt.Errorf(...) ( #36660 )
2022-07-28 19:23:11 +08:00
2c3d4f1ae4
planner/core: change behavior of fine_grained_shffule_stream_count ( #36621 )
...
close pingcap/tidb#36622
2022-07-28 17:09:11 +08:00
15009a7c4e
*: clean code ( #36655 )
2022-07-28 15:09:11 +08:00
8e7f97b9ff
executor: close recordset in the aggregate_test ( #36644 )
2022-07-28 11:47:11 +08:00
e39ef4cae8
executor: prevent sending cop request for show columns ( #36613 )
...
close pingcap/tidb#36426 , ref pingcap/tidb#36496
2022-07-27 20:31:11 +08:00
6c8bb7cf15
executor: avoid log empty binary plan into slow log ( #36619 )
...
close pingcap/tidb#36617
2022-07-27 18:37:11 +08:00
9a388e36c1
executor, statistics: directly update count if analyze reads latest data ( #36588 )
...
close pingcap/tidb#36552
2022-07-27 18:11:11 +08:00
16f143f875
planner: refactor the execute path when using plan cache ( #36587 )
...
ref pingcap/tidb#36598
2022-07-27 12:31:10 +08:00
8af16e815e
seqtest: close failpoint when to exit the test case ( #36602 )
2022-07-27 12:09:11 +08:00
9d0f5f72d3
*: enable pessimistic transaction on unistore ( #36578 )
2022-07-26 21:07:10 +08:00
6ae88c4309
br: use one shot session to close domain ASAP ( #36558 )
...
* br: use one shot session to close domain ASAP
Co-authored-by: Ian <ArGregoryIan@gmail.com >
Co-authored-by: Ti Chi Robot <ti-community-prow-bot@tidb.io >
2022-07-26 20:15:53 +08:00
965454fd16
executor: optimize BCE in the memtable_reader ( #34663 )
...
ref pingcap/tidb#34669
2022-07-26 11:15: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
eef41ccbc4
executor: close recordset in the insert_test ( #36507 )
2022-07-25 18:01:10 +08:00
1923d33622
planner: fix bindings with ignore_plan_cache_hint cannot work ( #36427 )
...
close pingcap/tidb#34596
2022-07-25 16:13:11 +08:00
b90dee785d
executor: separate unstable test into package ( #36506 )
...
close pingcap/tidb#36504
2022-07-25 14:01:09 +08:00
c4c066554b
executor: add syntax 'ADMIN SHOW DDL JOB QUERIES LIMIT m OFFSET n' to retrieve DDL commands within a certain range ( #36480 )
...
close pingcap/tidb#36198
2022-07-25 13:07:10 +08:00
48e496afc2
executor: correct the column name shown in show next_row_id ( #36471 )
...
close pingcap/tidb#36470
2022-07-25 09:41:09 +08:00
bf743a6ca0
*: enable flaky test for all test ( #36385 )
...
close pingcap/tidb#36404
2022-07-22 15:35:09 +08:00
065563a8ea
executor: fix aggregating enum zero value gets different results from mysql ( #36208 )
...
close pingcap/tidb#26885
2022-07-22 14:05:09 +08:00
8bc002e77c
table partition: add telemetry for partition table ( #36204 )
...
close pingcap/tidb#34949
2022-07-22 11:53:09 +08:00
23f25af211
executor,metrics: add a metric for observing execution phases ( #35906 )
...
ref pingcap/tidb#34106
2022-07-21 21:31:09 +08:00
6afbfa2ffc
executor: close result ( #36424 )
2022-07-21 17:47:09 +08:00
1e391316fc
executor: Remove version comment for MySQL 3.23.x syntax ( #36342 )
...
ref pingcap/tidb#36270
2022-07-21 13:53:09 +08:00
e3eea88801
telemetry: add telemetry for savepoint ( #36354 )
...
close pingcap/tidb#36353
2022-07-21 02:57:08 +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
e9f3980853
table partition: exchange partition with table enhance ( #35749 )
...
close pingcap/tidb#35996
2022-07-21 00:13: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
fd6f5dd798
*: GC-aware memory track for analyze ( #35248 )
...
close pingcap/tidb#34996
2022-07-20 20:17:09 +08:00
a52656fde4
*: add binary plan in stmt summary and slow log/query ( #35698 )
...
close pingcap/tidb#35889
2022-07-20 18:21:09 +08:00
a6b3f3d454
compact: Add syntax for COMPACT command without specifying the replica ( #36368 )
...
ref pingcap/tidb#34749
2022-07-20 16:53:09 +08:00
d00b984f4c
executor, statistics: analyze use MaxUint64 ts to read data ( #35232 )
...
close pingcap/tidb#35233
2022-07-20 16:09:08 +08:00
4b50e67452
statistics: separte complex file and forbid embedding ( #36318 )
...
close pingcap/tidb#36284
2022-07-20 14:03:08 +08:00