Commit Graph

10224 Commits

Author SHA1 Message Date
36d2dbb7b1 planner: set the partition id to table id in DAG request (#14745) 2020-02-14 15:27:45 +08:00
f71425b32b session: support leader-and-follower for tidb_replica_read (#14761) 2020-02-14 15:06:58 +08:00
ef5fffb0c9 session: make unit test TestOptimisticConflicts more stable (#14746) 2020-02-14 14:55:18 +08:00
7aa54a8f0e executor: use WithRecovery in IndexMergeReaderExecutor instead of recover (#14550) 2020-02-14 13:59:54 +08:00
a6e6e2ffe7 planner/cascades: add transformation rule TransformAggregateCaseToSelection (#14526) 2020-02-14 13:14:14 +08:00
27f8c3668f ddl: fix auto_increment is not compatible with MySQL (#14755) 2020-02-14 11:32:14 +08:00
c59f339ded executor: refine the IPC in indexMergeReaderExecutor (#14381) 2020-02-14 10:51:14 +08:00
e5bffd9470 planner, executor: let 'show [variables|status]' be sorted by… (#14727) 2020-02-14 10:43:11 +08:00
8c804f40dd test: fix unit test TestInDecimal (#14763) 2020-02-13 19:45:04 +08:00
2f926df501 executor: add diagnosis rule to detect cluster critical errors (#14743) 2020-02-13 19:34:04 +08:00
2ee3b33b59 domain: change some log's level to ERROR (#14779) 2020-02-13 19:24:12 +08:00
fe6ca65414 expression: implement the Coercibility() function (#14739) 2020-02-13 19:15:48 +08:00
a4e8341add executor: fix offset of outerMatchStatus for outer hash join (#14773) 2020-02-13 18:57:04 +08:00
007c0e6656 *: support default expression value for sequence (#14589) 2020-02-13 18:50:33 +08:00
114405e114 executor: inline projection for hash join (#14682) 2020-02-13 18:44:33 +08:00
0d0911680c ddl: fix create table with like bug when refer table has tiflash replica (#14772)
Signed-off-by: crazycs <crazycs520@gmail.com>
2020-02-13 18:25:35 +08:00
e1212c48e7 Revert "config: check the validity of the DDL lease (#14641)" (#14781) 2020-02-13 18:17:12 +08:00
5778b50d0e config: check the validity of the DDL lease (#14641) 2020-02-13 11:53:51 +08:00
4755a9b9ef util: revert util/mathutil (#14744) 2020-02-13 11:33:04 +08:00
bce19d1264 planner/cascades: add transformation rule EliminateOuterJoinBelowAggregation (#14465) 2020-02-13 10:59:18 +08:00
9ffea356b1 *: support partition table in tiflash (#14735) 2020-02-13 09:59:47 +08:00
7cd8ba3c60 *: add tiflash replica sync progress (#14713) 2020-02-12 23:16:28 +08:00
5c4f457580 executor: remove dead code about Cacheable function call (#14740) 2020-02-12 22:05:11 +08:00
03705d1344 test: fix TestAggToCopHint (#14741) 2020-02-12 21:46:17 +08:00
fa04a3218d *: add privilege check for slow_query and cluster memory table (#14451) 2020-02-12 18:28:44 +08:00
6702d95fc0 planner: prune columns again after predicate push down (#14683) 2020-02-12 18:13:18 +08:00
62e48ca046 test: optimize session tikv test (#14709) 2020-02-12 18:07:18 +08:00
b056fd7298 *: add START_TIME and UPTIME columns to system table CLUSTER_INFO (#14718) 2020-02-12 17:22:18 +08:00
afe0abf58f server: make txn related logs more detailed (#14722) 2020-02-12 17:13:18 +08:00
23ce3b29c9 rowcodec: make TypeYear's decodeDatum result consist with insert datum (#14717) 2020-02-12 14:56:59 +08:00
e66daf3e04 store/tikv: support batch load regions with key range (#14716) 2020-02-12 12:36:47 +08:00
6e867b7cbc planner: consider disk cost in Sort (#14708) 2020-02-12 11:40:47 +08:00
be434ba101 executor: fix admin show ddl jobs end time bug when job is not finished (#14738) 2020-02-12 11:27:33 +08:00
77c7875eb2 cmd/explaintest: fix a misleading error message (#14720)
if tidb is not setup, run ./explain_test the error message should be
    "dial tcp 127.0.0.1:4001: connect: connection refused"
However, this err is overwrite and the final message is
    "executing drop DB test failed"
2020-02-12 09:45:26 +08:00
74c6095670 infoschema: add metrics_tables that contain all metrics tables definition (#14721) 2020-02-12 01:18:09 +08:00
b23500ce06 types: fix decimal tests failed (#14732) 2020-02-11 22:44:05 +08:00
989de9ad77 test: bump failpoint (#14715) 2020-02-11 15:16:04 +08:00
931b4773b4 infoschema/metric_schema: add node cpu/mem/net load metric tables (#14670) 2020-02-11 14:29:20 +08:00
7ecb7e6f48 infoschema: add metrics_summary_by_label table to query all detail metrics (#14663) 2020-02-11 14:08:11 +08:00
6bae385ce0 util: add collation interface (#14698) 2020-02-11 11:18:04 +08:00
0f7a3e838c executor: fix hash join panic after killing (#14712) 2020-02-11 10:15:34 +08:00
750583c665 *: use iterator in show ddl jobs to avoid oom when there is too many history ddl jobs. (#12472) 2020-02-10 22:56:05 +08:00
c93f03e018 types: add debug info to trace unit test (#14714) 2020-02-10 21:47:34 +08:00
74e49085cf planner: make the read storage hint not force plan (#14644) 2020-02-10 20:02:22 +08:00
4cfe17854e executor: support show create sequence (#14674) 2020-02-10 18:47:04 +08:00
1d9ed45b37 *: support virtual generate column substitute optimization (#14367) 2020-02-10 16:01:05 +08:00
56438a04cd executor: implement disk/cpu/memory/load diagnosis rules (#14668)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-10 15:36:20 +08:00
ad1d07f00f config: introduce a config client to support load configs from PD online (#14303) 2020-02-10 14:56:20 +08:00
da2ed2b5bc expression: fully open CAST push-down switcher (#14672)
Signed-off-by: Lonng <heng@lonng.org>
2020-02-09 16:27:45 +08:00
c7b43f3c75 executor: fix executor tests for TestFlushPrivilegesPanic and TestSortSpillDisk (#14681) 2020-02-08 01:20:26 +08:00