Commit Graph

11314 Commits

Author SHA1 Message Date
df60c32286 kv: fix typos (#18626)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-16 14:19:18 +08:00
4bcb022430 ddl: add explicit error message when adding index (#18563) 2020-07-16 13:36:14 +08:00
2a5fb55194 session: stabilize test TestBatchCommit (#18625)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-07-16 12:52:18 +08:00
38621d29aa config: deprecate allow-auto-random option (#18618) 2020-07-16 12:18:30 +08:00
79143d6fa1 planner: support keep order for clustered index (#18590) 2020-07-16 12:01:06 +08:00
c277e67ac9 session: add a mutex in TxnState.initStmtBuf (#18617) 2020-07-16 11:40:16 +08:00
b72e47e6db search logs: update sysutil to support search logs include invalid lines (#18579) 2020-07-15 21:22:19 +08:00
07bd4dd261 region_cache: invalidate cached region for not leader error (#18577)
Signed-off-by: qupeng <qupeng@pingcap.com>
2020-07-15 20:47:18 +08:00
f0e5876353 util/execdetails: refactor execdetails information of runtime collect (#18530) 2020-07-15 20:05:29 +08:00
9e5e2a933e metrics: add metrics for disconnections (#18441) 2020-07-15 17:46:11 +08:00
c2b56e96c8 executor: return error from indexHashJoin worker to main thread (#18573) 2020-07-15 16:41:24 +08:00
971cf97d97 [store/tikv] add some unit tests for batch coprocessor (#18514)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-15 15:57:55 +08:00
297acf7e82 log: add tidb_log_desensitization global variable to control whether do desensitization when log query (#18578)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-07-15 15:44:56 +08:00
761a961ba0 kv: refactor MemBuffer and reduce the memory usage (#18372) 2020-07-15 15:26:25 +08:00
85679e9b4b tikv: support cancel before cop response return (#18445)
* tikv: support cancel before rpc response return.

* fix memory leak and race during stop

* fix stream response returned but cannot cancel ctx bug

* make cop consumer goroutine can detect kill flag
2020-07-15 15:02:47 +08:00
8a6554a21f telemetry: disable telemetry by default for non-community edition (#18524)
Signed-off-by: Zheng Xiangsheng <hundundm@gmail.com>
2020-07-15 11:37:36 +08:00
53b7306f67 sessionctx: future proof tidb-specific comment (#18491) 2020-07-15 11:07:59 +08:00
ca41972fba tikv: fix infinite panic when GRPC transportReader is broken (#18437) 2020-07-14 22:38:28 +08:00
b12f94b967 executor: fix mislead inconsistent log after Context.Cancel (#18537) 2020-07-14 20:21:41 +08:00
2024e44636 gc_worker: resolve locks on offline stores (#18383)
Signed-off-by: youjiali1995 <zlwgx1023@gmail.com>
2020-07-14 17:23:37 +08:00
a6971dd685 *: support 'admin check table' on clustered index table (#18346) 2020-07-14 15:59:37 +08:00
61c33d1e24 ddl: fix mix DDLs blocks 2*lease on unistore (#18468) 2020-07-14 14:23:05 +08:00
07c6788ef2 session: add no register API for using TiDB as a library (#17513)
* domain,session: add NoRegister entry

* session: run fmt

* session: remove old NoRegister API

* config: add no register config

* config: add example to example config file.

* session: remove unused type

* *: rename NoRegister to SkipRegisterToDashboard

Co-authored-by: crazycs <crazycs520@gmail.com>
2020-07-14 12:08:38 +08:00
b193db8b49 planner: ban tiflash engine when the statement is not read only (#18458)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-14 11:43:48 +08:00
9d536c426d *: add HTTP API to generate TiDB metric profile (#18272) 2020-07-14 11:10:47 +08:00
30858ec8ea executor: return error when recover indexHash/MergeJoin worker (#18509) 2020-07-14 10:44:27 +08:00
77aecd4b27 executor, planner: support split table regions on clustered index (#18465) 2020-07-13 21:40:40 +08:00
2dff44a1de fix Test failed case from PR/18277 (#18504) 2020-07-13 21:08:03 +08:00
5574e1a3ff config: enable collect execution information by default (#18415) 2020-07-13 20:35:37 +08:00
b122d58ccb executor: add deprecation warning for hash_join_concurrency (#18453)
Signed-off-by: niedhui <niedhui@gmail.com>
2020-07-13 19:29:37 +08:00
6a7ba4aafa executor: make the format of the DB field in slow logs be compatible with MySQL (#18389) 2020-07-13 18:39:41 +08:00
225c31ab86 executor: log when setting a global variable (#18457)
Signed-off-by: niedhui <niedhui@gmail.com>
2020-07-13 18:05:49 +08:00
0d7843d781 ddl: fix max allocation count when create auto_random tables (#18417) 2020-07-13 17:19:07 +08:00
8b856cc82d autoid: only initialize rowid allocator if necessary (#18326) 2020-07-13 17:01:56 +08:00
291bcae74f executor: fix bug of read information_schema.columns (#18503)
Signed-off-by: crazycs520 <crazycs520@gmail.com>
2020-07-13 16:41:44 +08:00
009c11254d expression: add header for tidb_decode_plan result (#18440) 2020-07-13 13:57:37 +08:00
165bdfdec8 server: return the actual error when conn panic (#18494)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-13 12:47:27 +08:00
b13fdb7bce *: make test more TestSortInDisk stable (#18424) 2020-07-13 11:51:55 +08:00
8a661044ce multi-query prefetch support pessimistic transaction (#18439)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-10 18:47:56 +08:00
a74b258aea ddl: change drop partition and truncate partition's job args to support multi partition id array (#18419) 2020-07-10 17:42:47 +08:00
fe59fd4e92 fix: add warning for AlterTableRepairPartition (#18454) 2020-07-10 16:48:31 +08:00
563f2c92d7 planner: clustered index support primary index hint (#18478) 2020-07-10 15:26:19 +08:00
af129d2116 planner: reset plan ID count when using nth_plan hint (#18409) 2020-07-10 09:46:34 +08:00
2b0b34b88e executor: kill tableReader for each connection correctly (#18277) 2020-07-09 18:09:08 +08:00
a99fdc098c statistics: ease the impact of stats feedback on cluster (#15503) 2020-07-08 19:53:04 +08:00
45c9d10ab9 config,store/tikv: make how large a txn start ttlManager configurable (#18429) 2020-07-08 16:10:53 +08:00
ff94f2be2d information: Fix issue of query information_schema.columns cost too much memory when there are lots of tables in TiDB (#18362) 2020-07-08 14:23:00 +08:00
62979f69a7 planner: resolveFromPlan when tblName.colName exists in having clause (#18349)
* test

* planner: resolveFromPlan when tblName.colName exists in having clause

Co-authored-by: Kenan Yao <cauchy1992@gmail.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-08 13:53:40 +08:00
2dfae9850a executor: make hashjoin using executor_concurrency (#18213) 2020-07-08 13:41:10 +08:00
da90b23e6a executor, planner: fix clustered index UnionScan and IndexLookUp (#18427)
* executor, planner: fix clustered index union scan and index reader schema

* fix another bug

* address comment

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-08 11:57:09 +08:00