Commit Graph

29 Commits

Author SHA1 Message Date
5352e7c65c ddl: use the Options to reorganize the NewDDL paramaters (#11966) 2019-09-02 10:09:44 +08:00
04fd41860d owner: improve unit tests code coverage (#10792) 2019-06-29 11:35:14 +08:00
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
f8d74d0682 util/logutil: add some tests to improve test coverage (#10479) 2019-05-31 16:28:11 +08:00
d3a750ca8f ddl, session: update logs (#10546) 2019-05-27 13:42:33 +08:00
27a56180bd *: replace gofail with the new failpoint implementation (#10184) 2019-04-22 13:30:14 +08:00
1154456af7 domain,owner: unify and normalize the format of the log (#9646) 2019-03-25 15:50:15 +08:00
6136ab14cf *: start replacing logger with zap logger (#9279) 2019-02-15 16:43:47 +08:00
9c087d13ee *: replace github.com/etcd-io/gofail with the forked one (#8693)
With the adoption of Go module, GOPATH is not need any more
But github.com/etcd-io/gofail doesn't support packages outside the GOPATH
To overcome the drawback, this commit replace it with our forked one
2018-12-19 11:30:48 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
29f14d4178 *: change default charset and collation from 'utf8 utf8_bin' to 'utf8mb4 utf8mb4_bin' (#7965) 2018-11-09 16:32:21 +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
9ec7515743 *: Add few error checks in tests, clean error messages and fix a misspell (#8101) 2018-10-31 18:50:43 +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
f497444389 server: support resigning ddl owner, use http method ddl/owner/resign (#7649) 2018-09-11 15:18:17 +08:00
3d7d81c868 fix etcd watcher goroutine leak test failure (#7408) 2018-08-16 15:15:01 +08:00
22519aefc2 *: update import path from coreos/gofail to etcd-io/gofail to fix ci (#7329) 2018-08-09 15:48:01 +08:00
46da21b5c1 *: support select tidb_is_ddl_owner, to figure out whether tidb instance is ddl owner (#6682) 2018-06-01 17:56:44 +08:00
d890ee682b *: add check when watching (#6671)
* *: add check when watching
2018-05-30 21:48:35 +08:00
d2709af9e7 owner: add recover panic in owner campaignLoop. (#5904) 2018-02-26 15:02:46 +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
be6af8f071 owner, metrics: add metrics (#5779) 2018-02-06 15:06:21 +08:00
1ec74d2d76 owner: Add error check in NewSession (#5731) 2018-01-29 21:16:37 +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
e19e1ac3ac owner: revoke on ctx.Done. (#4624) 2017-09-26 10:49:33 +08:00
8b9457baf2 owner: Update the interval of printing log (#4485) 2017-09-11 22:37:38 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
7c273c0f29 *: implement auto analyze (#4141) 2017-08-18 18:42:28 +08:00