4188ae19c0
log,server: add contextual log util & test it in conn.go ( #9548 )
2019-03-09 11:23:45 +08:00
c3f64b2629
*: tiny update for the whitelist plugin ( #9271 )
2019-02-12 15:54:45 +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
e5b9fc079a
server: close all connection directly when terminate tidb ( #8692 )
2018-12-17 15:51:08 +08:00
808eab1911
session: support system variable interactive_timeout ( #8487 ) ( #8573 )
2018-12-14 22:22:25 +08:00
654964a35b
server: close connection when tidb server closed. ( #8446 )
2018-11-27 17:51:47 +08:00
e69aa2749b
server: unix socket should verify user's authentication ( #8381 )
2018-11-22 13:43:38 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
6e3bbe8e35
*: add HIGH_PRIORITY for the bootstrap SQLs. ( #7616 )
2018-09-06 00:49:12 +08:00
a7ae09b8e1
metrics,server: add a get_token_duration_seconds metrics ( #7110 )
...
* metrics,server: add a get_token_duration_seconds metrics
2018-07-23 14:29:19 +08:00
f9a5686f9b
executor: make set system variable log shorter ( #7029 )
2018-07-11 14:09:22 +08:00
7682a74d15
*: kill one's own connection doesn't require SUPER privilege ( #6954 )
...
`kill tidb connID`, if the user is the owner of that connection, there
is no need to check the SUPER privilege.
SessionManager interface is slightly modified.
2018-07-05 20:17:17 +08:00
c0cb89ea6b
server: fix CI nil pointer panic ( #6733 )
...
server.ShutDown(ctx), it would panic if ctx is nil, because http package
calls <-ctx.Done()
replace ShutDown() with Close()
2018-06-02 22:18:13 +08:00
1a896a3b11
server: remove once.Do for HTTP server in tests ( #6691 )
2018-06-01 15:28:57 +08:00
93efc51b96
*: unify the connection ID format in log ( #6670 )
...
Makes tracing the events of a session easier.
2018-05-29 00:31:16 +08:00
fecd91a530
server: do not log on handshake error ( #6552 )
...
Load balancers connects to TiDB server and close immediately, we don't need to log them.
2018-05-15 13:45:11 +08:00
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