Commit Graph

29 Commits

Author SHA1 Message Date
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +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
6a1e94ffa6 domain: fast new a etcd session when the session is stale in the schemaVersionSyncer (#7774) 2018-09-28 17:36:22 +08:00
16864f95b4 ddl, metrics: remove DDL version in metrics (#7737) 2018-09-23 22:58:20 +08:00
cb03f2bec1 move from juju/errors to pkg/errors (#7151) 2018-09-12 15:42:20 +08:00
3af92ab208 ddl, metrics: update metrics (#7472) 2018-08-27 15:05:31 +08:00
9fc67b9a9f store TiDB server info to PD and add http api handle (#7082) 2018-08-15 12:51:00 +08:00
fe6e710877 ddl: make check all versions norma (#7319) 2018-08-09 18:58:29 +08:00
8143d3c53e ddl: reduce test time (#6821) 2018-06-13 10:45:55 +08:00
bec5f3b047 ddl: wait for a while when some error occured to avoid retrying too many times. (#6601) 2018-05-30 22:14:58 +08:00
d890ee682b *: add check when watching (#6671)
* *: add check when watching
2018-05-30 21:48:35 +08:00
e1121814d2 *: don't import golang.org/x/net/context as goctx alias (#5895)
Now that there is no conflict with sessionctx.Context, this can be
import directly
2018-02-24 03:40:56 -06:00
935b66f5c5 ddl: refine syncer log and add some comments (#5871)
* ddl: refine syncer log and add some comments
2018-02-14 17:22:34 +08:00
4d954e23d8 ddl, metrics: Move DDL metrics from ddl package to metrics package (#5781) 2018-02-05 10:14:03 +08:00
17ee60030c ddl: add metrics for ddl syncer (#5765) 2018-02-02 14:09:52 +08:00
67e067a78b ddl: update the ctx of restart syncer (#5610) 2018-01-15 19:16:32 +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
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
44f716fb13 ddl: Remove TODO about check all versions to handle the waiting time problem (#4271)
* ddl: remove the todo in ddl_worker
2017-09-06 13:59:24 +08:00
7c273c0f29 *: implement auto analyze (#4141) 2017-08-18 18:42:28 +08:00
dcbfd71f68 ddl: Use the correct error (#4221) 2017-08-17 19:14:29 +08:00
50665d5f47 ddl: Handle the error of ErrClientConnClosing (#4117) 2017-08-09 22:29:07 +08:00
d0e859174a ddl: Break campaignLoop when closing DDL (#3553)
* ddl: break the loop when closing
2017-06-28 10:54:20 +08:00
1837c097a9 *: Add TTL to the self schema version on etcd (#3427)
* *: add ddl ttl
2017-06-11 14:57:10 +08:00
db2724aee9 ddl: Fix a bug when wait schema change timeout (#3429)
* ddl: fix a bug when wait schema change timeout
2017-06-08 16:02:14 +08:00
b8972bcd5e ddl: Add interval to log (#3422) 2017-06-08 15:30:41 +08:00
1422c0847c ddl: Export some variables and remove useless tests (#3398)
* ddl: remove tests and export for testing
* ddl: extract a function for testing

* ddl: fix a bug, export TTL and update log

* ddl: make golint happy

* ddl: update comments
2017-06-06 12:55:55 +08:00
62450b9024 Use etcd to speed up DDL process
Add the mock owner-manager and schema-syncer and enable using etcd to speed up DDL process by default.
2017-06-04 10:00:41 +08:00
64830c93b7 ddl: Use etcd to synchronize schema version (#3322) 2017-05-27 16:42:19 +08:00