Commit Graph

44 Commits

Author SHA1 Message Date
50e98f427e config: add validation for configuration (#5864) 2018-03-06 14:56:28 +08:00
eb71063db1 metrics, ddl, server: Add metrics for ddl and server (#5840)
DDL: is owner
Server events: start/stop/kill/hang
2018-02-09 16:08:49 +08:00
08720d01f9 executor: add more comments (#5728) 2018-02-08 19:55:59 -06:00
14a9a3df76 server, metrics: move and refine server metrics (#5766) 2018-02-01 19:04:31 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +08:00
b3338a2eb3 server: graceful shutdown will wait clients to close (#5375) 2017-12-19 11:29:19 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
a7b0a1f915 server,tidb: move cancel function from session to clientConn (#5346) 2017-12-09 15:27:58 +08:00
8a5b8d54a5 server: schema info api of http status server (#5256) 2017-11-30 19:23:41 +08:00
b6e49c9bf9 Add PROXY protocol support (#3757) 2017-11-26 23:40:42 +08:00
7144b7e0d7 server: make tokenLimit configurable (#4973) 2017-11-13 17:43:29 +08:00
3e1d036336 *: log the caller of "terror.Log()" (#4729) 2017-10-10 11:26:43 +08:00
c2691114b4 *: check errors part 2 (#4704) 2017-10-09 12:46:45 +08:00
97242d362a config: add config file support. (#4509) 2017-09-14 19:38:49 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
31a48f8d75 server: SSL/TLS support (#3716) 2017-09-07 13:36:28 +08:00
6ee6dd6c84 server: minor log info corrections (#4319) 2017-08-27 20:05:54 +08:00
38908aeb1e protocol: add the framework of x protocol, and cmdline arguments. (#3618) 2017-08-22 14:53:17 +08:00
43c4b1f2ad server: add a tcp keep alive start up option (#3995) 2017-08-03 10:01:37 +08:00
c27747649c server: make show processlist doesn't include killed session (#3978) 2017-08-01 22:07:45 +08:00
53b27dd3ec tidb/config: Extract the configuration as a package and add two configurations for tidb (#3919)
add the ability to configure the slow query threshold and max log length
2017-07-28 17:01:22 +08:00
cfd2515a75 tidb-server: fix incorrect error message when auth failed (#3696) 2017-07-11 10:41:33 +08:00
eea5cb2237 *: tiny clean up (#3542) 2017-06-26 10:47:52 +08:00
af3fb807ed server: stop listener on critical error. (#2854) 2017-03-17 18:54:51 +08:00
e791b9a3be http: get region's info (#2774) 2017-03-17 12:08:53 +08:00
a623e670e6 *: implement "kill tidb xxx" statement (#2768) 2017-03-08 13:32:22 +08:00
87d39986fe *: show processlist (#2744) 2017-03-01 14:39:13 +08:00
3c7ac58d20 server: defer handshake packet make TiDB crash (#2267)
malformat packet is just an error
out of range panic should not spread to TiDB
2016-12-17 11:24:26 +08:00
704a963f70 server: Enlarge token from 100 to 1000 (#2125) 2016-11-29 14:30:28 +08:00
1f1a60c02a *: improve log (#1944)
Add logging for set system variable.
Add connection ID in log.
Adjust some log level.
Improve readability.
2016-11-04 17:11:10 +08:00
6938f973cb server: Change handshake error log level (#1839) 2016-10-18 14:41:58 +08:00
1fbdb1b193 *: Tiny clean up (#1826)
* *: add error check and error trace
* server: rename MySql to MySQL
2016-10-14 18:11:57 +08:00
0e289d1c0e *: Update TiDB version, check ClientLocalFiles capability when handling load data operation (#1774) 2016-10-09 20:36:43 +08:00
900a7d67dd server: add comments for readability. (#1798) 2016-10-09 18:48:22 +08:00
453158c5a3 *: update server metrics (#1749) 2016-09-21 19:44:35 +08:00
999fa025c7 server: Add metrics (#1729)
Add metrics for server package.
Update gitcookie.sh.
2016-09-17 11:45:57 +08:00
a02323047e *: remove go-metrics (#1728)
We use prometheus to do metrics jobs now.

It is useless now.
2016-09-14 15:07:41 +08:00
a82abef98f server: Add git hash into status api (#1724)
It is more convenient to get git hash from http api then from log file.
2016-09-14 10:32:29 +08:00
8f93071389 *: Merge pprof and status port and add flag to set host (#1541) 2016-08-02 22:23:46 +08:00
8169806756 *: Use prometheus for metrics (#1525)
Add prometheus metrics framework.
2016-07-30 12:08:36 +08:00
4eca9cc825 *: fix data races detected by go test -race (#1407) 2016-07-07 15:35:40 +08:00
0450ba0b47 *: unify "See url" format (#1391)
* *: unify "See url" format
2016-07-05 11:21:10 +08:00
7c7b1b59f5 *: Unify error (#1273)
* *: unify error format in table, server and xapi package

* terror: remove duplicated code
2016-05-31 15:06:11 +08:00
0ecb4da39d *: migrate to vendor (#1175) 2016-04-28 16:57:18 +08:00