Commit Graph

354 Commits

Author SHA1 Message Date
d8589df2f3 *: add a variable to control the back off time and disable txn auto retry by default (#10266) 2019-05-08 10:23:49 +08:00
478990451c server, statistics: support dump history stats (#10291) 2019-05-07 14:59:38 +08:00
69b02a3736 *: make config items Performance.*, OOMAction and MemQuotaQuery support hot-reloading (#10295) 2019-04-29 16:38:46 +08:00
c2b975b217 server: fix TestTLS when use RSA-PSS (#10274) 2019-04-26 10:12:45 +08:00
154fc6013c server: force TestTLS use tls1.2 before support it (#10253) 2019-04-24 23:08:12 +08:00
6ba69f2aad plan, executor: pre with labels for metrics in conn/session (#10232) 2019-04-22 20:51:46 +08:00
76e0a91694 infoschema: add mem table to show hot region (#10106) 2019-04-18 17:41:53 +08:00
abeddab5ba privilege, executor: support SET DEFAULT ROLE (#9949) 2019-04-17 14:25:49 +08:00
e5f734e54c *: move the Handle of stats to single package. (#10149) 2019-04-17 13:42:34 +08:00
3ad3b3d00b server: change db-table/{table_partition_id} http api (#10026) 2019-04-12 11:19:53 +08:00
7acbe520f4 server: move out some code from http_handler.go (#10071) 2019-04-09 13:46:15 +08:00
278c3e81b4 *: support EXPLAIN FOR CONNECTION (#10030) 2019-04-09 10:45:22 +08:00
e48b258f92 driver_tidb.go: Optimize convertColumnInfo (#9824) 2019-04-04 22:44:10 +08:00
e9653675dd *: remove errors.Trace in main handle path (#10033) 2019-04-04 14:27:15 +08:00
c04bda6b76 server: improve error message (#10034) 2019-04-03 13:47:32 -06:00
9f282f7b00 server: return mvcc key and value for mvcc http api (#9932) 2019-04-02 17:29:38 +08:00
2ee8f42c49 server: Change runTestConcurrentUpdate to use runTestsOnNewDB (#9906) 2019-04-01 21:13:54 +08:00
77e91d1327 executor: kill tidb [session id] can't stop executors and release resources quickly (#9844) 2019-04-01 16:51:24 +08:00
e31e8f1560 *: reduce runtime.growslice by preallocation (#9946) 2019-03-31 10:31:06 +08:00
8e0cfc290b config, server: Add http status host (#9814) 2019-03-30 10:50:05 +08:00
1f018576bc server: ConnectionEvent error from plugins should not make TiDB exit (#9889) 2019-03-27 15:15:11 +08:00
c451f00814 *: fix utf8 charset upgrade compatibility (#9820) 2019-03-25 18:06:32 +08:00
5ffa06b6c3 *: unify and normalize the format of the log in the pkg of server (#9878) 2019-03-25 16:10:36 +08:00
0313cbbbde plugin: add audit plugin extension point (#9136) 2019-03-25 15:18:34 +08:00
490d405e30 server: add /debug/zip api to get useful debuginfo at once (#9651) 2019-03-20 13:35:41 +08:00
a2d4bd1df0 log: temporary remove recvTs from context log (#9673) 2019-03-12 17:20:42 +08:00
22af193369 Allocate slice from memory pool (#9643) 2019-03-11 18:32:56 +08:00
4188ae19c0 log,server: add contextual log util & test it in conn.go (#9548) 2019-03-09 11:23:45 +08:00
2c90855cb7 *: add rollback for load data statement (#9444) 2019-02-28 21:03:01 +08:00
a8664ef00b table: add a http api to control whether tidb check inserting 4 bytes in utf8 charset column (#9024) 2019-02-18 16:57:03 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
c3f64b2629 *: tiny update for the whitelist plugin (#9271) 2019-02-12 15:54:45 +08:00
c190de3d04 server: add test for OPTIONALLY keyword (#9200) 2019-02-12 15:37:44 +08:00
469fa877d6 util/hack: define a MutableString type for function hack.String (#9230) 2019-02-12 12:30:40 +08:00
2ea6e1bff5 session,server: remove error for RollbackTxn (#9202) 2019-02-11 09:53:12 +08:00
46bebb4db1 server: return correct response if pass specified (#9140)
Improves MySQL compatibility
2019-01-24 19:14:23 +08:00
63936cc1fa ddl: resolve the charset by the order: table->database->server (#9105) 2019-01-21 19:56:40 +08:00
5f8265a8f9 server: adjust the result of curl * (#9104) 2019-01-17 20:13:24 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
33b4c3e3c8 executor: fix csv parser (#9005) 2019-01-15 22:46:23 +08:00
00c4ff4fa9 *: refactor Executor.Next() to receive RecordBatch (#8994) 2019-01-14 15:04:36 +08:00
504b10c27c server: try graceful close connection first (#8711) 2019-01-11 18:44:53 +08:00
692693a1ff server, tidb-server: improve unix socket handling (#8836) 2019-01-09 09:51:26 +08:00
7a966426ee metric: replace QueryDurationHistogram's "general" type to more detail stmt type (#8819) 2018-12-29 13:10:30 +08:00
eedc6af305 server: compatible to old handshake protocol (#8812) 2018-12-26 20:55:27 +08:00
61a8699c47 server: fix noise log for wait_timeout (#8813) 2018-12-25 20:26:28 +08:00
7bf23e8c47 server: add hot region table/index api (#7890) 2018-12-21 18:18:36 +08:00
a7907ede7a *: remove fail field from TxnState (#8712)
Originally, `fail` is added to simplify error handling, avoiding large changes on
the Txn() interface API. But it turns out that `fail` becomes the root of many bugs.
So this commit remove the `fail` and make an API refactory.
2018-12-20 16:36:12 +08:00
7528a059cf executor/server/session: add extra info message sent to mysql client (#8285) 2018-12-19 15:32:49 +08:00
e5b9fc079a server: close all connection directly when terminate tidb (#8692) 2018-12-17 15:51:08 +08:00