Commit Graph

533 Commits

Author SHA1 Message Date
9e5e2a933e metrics: add metrics for disconnections (#18441) 2020-07-15 17:46:11 +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
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
9d536c426d *: add HTTP API to generate TiDB metric profile (#18272) 2020-07-14 11:10:47 +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
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
2b0b34b88e executor: kill tableReader for each connection correctly (#18277) 2020-07-09 18:09:08 +08:00
75b254c8eb test: make TestDispatchClientProtocol41 stable (#18414) 2020-07-07 17:37:54 +08:00
de33068d26 *: refactor NewBackoffer (#18367) 2020-07-07 14:28:43 +08:00
ef355f8ce1 server: fix COM_STMT_FETCH returns wrong SERVER_STATUS_CURSOR_EXISTS (#18364) 2020-07-07 10:37:11 +08:00
6fa2badf38 util: move codec logic into tablecodec package (#18173)
* move codec logic into tablecodec package

* add key generation using physical table id

* remove using prefix

* change comment

* fix conclict

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-06-24 17:43:10 +08:00
9b16427628 server: prefetch point-get keys for multi-statement queries. (#18155) 2020-06-23 13:13:18 +08:00
c98514e751 executor: unify executor concurrency (#16999) 2020-06-22 17:39:32 +08:00
df6898d524 gcworker: export resolveLocks api for test (#18064) 2020-06-19 17:55:35 +08:00
c2c02cde4b *: support record kv/pd time for a SQL statement (#17591) 2020-06-18 21:17:48 +08:00
05b2e2bdcc *: refactor Execute() and clean up code (#17678)
- implement Execute using ExecuteStmt
- Execute is only for internal usage and accept only one statement
- clean up the old execute function
2020-06-09 13:58:39 +08:00
cf935151e6 server: check and report parser warnings (#17021) 2020-06-08 11:00:58 +08:00
2c55650617 *: make QPS more realistic (#17560) 2020-06-04 20:00:43 +08:00
1f451b33da server: change status port in test to 7090 (#17627) 2020-06-03 17:12:57 +08:00
cfbd754653 planner,executor,infoschema: add system table table_storage_stats (#15056) 2020-06-02 23:17:46 +08:00
709691607d expensivequery: fix the issue that max_exec_time hint doesn't work if it exceeds the expensive-threshold (#17359) 2020-05-29 19:07:34 +08:00
d5aaaae1b2 tikv: fix region cache do not filter the down peers (#17337) 2020-05-21 20:16:54 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
fbea0b31fc server: fix no response when execute 0 statment (#16770) 2020-04-28 11:50:26 +08:00
2e144ef5f2 server: let handshake packet read/write error log as debug (#16877) 2020-04-28 11:35:27 +08:00
6814f8c94b *: refactor Handle in table package (#16807) 2020-04-27 10:04:50 +08:00
90bfe841ae server: add drop/truncate table tiflash replica info in /tiflash/replica http api (#15699) 2020-04-24 16:00:48 +08:00
af376db3dc *: refactor Handle in tablecodec and rowcodec (#16705)
Co-authored-by: pingcap-github-bot <sre-bot@pingcap.com>
2020-04-23 18:55:59 +08:00
dc139aedb4 server,session: code refactor for multiple statements in one query (#16056) 2020-04-14 20:16:43 +08:00
da1c7384c1 tikv, server: turn on grpc channelz to help diagnosis and add wait conn establish metric (#16263) 2020-04-14 17:19:07 +08:00
48bd100f1d server: fix auth fail log (#16318) 2020-04-13 16:58:39 +08:00
9471e87cb7 server: change log frequency, add flag to quit drain loop (#16274) 2020-04-10 15:02:10 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
837b17865f log: change dispatch error log level (#16228) 2020-04-09 16:14:14 +08:00
6d02bc72d9 server: fix SIGSEGV caused by port probing with audit plugin (#16038) 2020-04-03 20:34:30 +08:00
b7d5e9131f server: fix leak for test TestDumpStatsAPI (#15665) 2020-03-30 11:25:45 +08:00
e42c825979 server, session: refine mysql handshake error log (#15731) 2020-03-28 19:18:35 +08:00
7a67ff482b config, server: change the default value of max-server-connections (#15726) 2020-03-26 17:55:13 +08:00
0eaa757bd8 executor: log stack info when panic converting to error (#15627) 2020-03-25 17:35:28 +08:00
e064196ddb server: remove the useless and annoying error stacks in the log (#15607) 2020-03-24 10:49:32 +08:00
df6f378267 stmtsummary: add a switch to decide whether capture internal q… (#15461) 2020-03-20 17:39:11 +08:00
2b47a08a57 server: change failpoint http path same with tikv (#15468) 2020-03-19 10:28:22 +08:00
f8b2d96764 server: if status address already in use, return an error (#15177) 2020-03-18 17:51:09 +08:00
71234a0348 server: check kill flag for load data (#15391) 2020-03-17 16:50:14 +08:00
aec6143179 *: support require-secure-transport startup option (#15341) 2020-03-17 08:46:45 +08:00
a977875623 *: use https protocol between tidb-pd tidb-tidb when cluster-ssl configured (#15342) 2020-03-16 11:36:24 +08:00
d052f5c41d server: stop the server when writing binlog failed (#15324) 2020-03-12 16:25:32 +08:00
45d83d1adb infoschema: remove the inspection_schema (#15296)
Signed-off-by: Lonng <heng@lonng.org>
2020-03-12 11:51:18 +08:00
6c67561ee0 server: fix tls setup and error log (#15287) 2020-03-11 20:55:47 +08:00
9f0736ee8b errno: move the error code from the parser/mysql to tidb/errno (#15277) 2020-03-11 15:40:21 +08:00