Commit Graph

213 Commits

Author SHA1 Message Date
108c3d2070 domain, store/tikv: enable etcd client auto sync (#9575) 2019-03-07 14:20:17 +08:00
f1c6e94d01 domain: make tests stable (#9410) 2019-02-22 12:56:48 +08:00
c3f64b2629 *: tiny update for the whitelist plugin (#9271) 2019-02-12 15:54:45 +08:00
469fa877d6 util/hack: define a MutableString type for function hack.String (#9230) 2019-02-12 12:30:40 +08:00
fe8e3f9b44 domain: change "reload privilege success" to DEBUG level (#9237) 2019-02-02 18:56:11 +08:00
35fce9397a stats: log auto analyze fail reason (#9178) 2019-01-25 19:44:48 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +08:00
365264cd21 ddl: add restore deleted table (#7937) 2019-01-16 15:37:33 +08:00
cb43fc9516 domain: fix stats worker cannot recover from panic (#9072) 2019-01-15 20:22:58 +08:00
4b98ad6f29 *: integrate plugin framework with TiDB (#9006) 2019-01-14 16:53:41 +08:00
3b40b14dc3 infoschema: move perfschema to infoschema directory, tiny refactor (#8982) 2019-01-10 13:58:32 +08:00
8e4d18a7ec domain: run FLUSH PRIVILEGES synchronous on GRANT (#8886)
MySQL compatible behavior.
2018-12-31 07:05:26 -07:00
0c8e967858 *: provide virtual table facilities (#8657) 2018-12-26 21:15:37 +08:00
3040788655 *: make errcheck work again (#8795) 2018-12-25 17:16:52 +08:00
1d3ecdf664 *: fix misspelled words (#8722) 2018-12-18 11:48:38 +08:00
312e0f7e9d session: skip global variable cache in unit test (#8594)
If the global variable cache is used, the test code has to sleep a while
to ensure it load the fresh data. This may slow the CI
2018-12-06 16:15:03 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
419c881207 domain: stop schema validator to prohibit DML executing when tidb lost session of etcd (#8441) 2018-11-28 14:04:57 +08:00
e5dc251dd3 ddl: fix concurrent access to do.infoHandle has a data race error (#8287) 2018-11-27 22:14:37 +08:00
cadab30b4a domain,session: simplify the session pool of domain (#8456) 2018-11-27 16:09:55 +08:00
4ff58ea3b2 domain: make TestSchemaValidator stable (#8334) 2018-11-20 15:36:25 +08:00
73a3497d2a variable: validate setting tx_isolation variable value (#8299) 2018-11-14 18:23:44 +08:00
47ac8aef19 domain: avoid an annoying log message (#8159) 2018-11-03 12:08:44 +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
82c9f2c8a8 ddl, domain: make schema correct after canceling jobs (#7997) 2018-10-25 18:30:58 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
19883077a8 domain: close slow query channel after closing session pool (#7847) 2018-10-11 17:59:06 +08:00
db151bb66f domain: fix memory leak for stats (#7864) 2018-10-11 10:58:22 +08:00
6a1e94ffa6 domain: fast new a etcd session when the session is stale in the schemaVersionSyncer (#7774) 2018-09-28 17:36:22 +08:00
4b5d83bcc4 domain: add recent slow queries queue and ShowSlowQuery() function (#7692) 2018-09-26 15:09:31 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
6604e33c21 domain,executor: store topN slow query in domain (#7646) 2018-09-12 11:01:48 +08:00
2c26243b4c store/tikv,mysql: improve error message of GC life time (#7658) 2018-09-11 11:35:44 +08:00
a34d69906f stats: fix panic when updating by feedback (#7640) 2018-09-09 11:06:08 +08:00
418cdf2308 plan: use point get plan for UPDATE statement (#7586)
* plan: use point get plan for UPDATE statement
2018-09-04 07:56:42 +08:00
1ebf316bd4 domain: handling assignments in server info (#7412) 2018-08-16 11:40:10 +08:00
9fc67b9a9f store TiDB server info to PD and add http api handle (#7082) 2018-08-15 12:51:00 +08:00
0fa27a4619 *: fix tests failed on Go 1.11beta (#7178)
Many of the failed tests are due to misuse of format placeholder.
2018-07-30 11:36:33 +08:00
06021c7cfe remove types.Row interface (#7170) 2018-07-27 13:45:03 +08:00
3b5e8a2264 stats: use feedback in time (#6859) 2018-07-23 19:27:14 +08:00
e28a81813c *: check the schema-validity when the DDL fails (#6797) 2018-07-09 17:35:04 +08:00
3f574d97c9 stats: refactor stats update mechanism (#6901) 2018-07-06 11:22:11 +08:00
0ab0b50f25 stats: refine the pseudo condition for stats (#6565) 2018-06-27 17:05:37 +08:00
0fbb980f9b stats: refine stats delta update (#6808) 2018-06-26 13:51:23 +08:00
1ac0c36985 *: speed up unit test (#6806)
set EnableSplitTableRegion to false,
move global variable cache to domain to pass test.
rewrite a ddl test that takes more than 30s.
2018-06-11 16:29:30 +08:00
c9c90bd980 ddl, domain: unify logs (#6719) 2018-06-01 14:05:40 +08:00
a54383b22e domain: change default delta update duration to 1 minute (#6700) 2018-05-30 22:13:48 +08:00
d890ee682b *: add check when watching (#6671)
* *: add check when watching
2018-05-30 21:48:35 +08:00
bcd3750f4b stats: refine stats log level (#6627) 2018-05-23 20:33:30 +08:00
ce0c9f373b *: add schema version to the log (#6527) 2018-05-18 14:01:47 +08:00