Commit Graph

50 Commits

Author SHA1 Message Date
xhe
94e30df8e2 parser: fix compiling, add unit tests (#28700) 2021-10-11 23:15:25 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
558ffd9b96 owner: migrate test-infra to testify (#26770) 2021-08-09 12:47:14 +08:00
b3d1f2b900 owner: make unit test faster (#26715) 2021-08-02 13:39:05 +08:00
3ed698259d infoschema: maintain the snapshotTS in the infocache (#25322) 2021-06-11 22:42:35 +08:00
xhe
2ca98e393c *: compatibility with staleread (#24285) 2021-05-17 19:53:39 +08:00
c437c4dadb plugin, tests, tools, tidb: unify go modules (#23610) 2021-04-15 16:17:54 +08:00
1e3921aff5 chore: Refactor code quality issues (#23445) 2021-03-27 15:51:23 +08:00
8c8edae9b7 owner: fix err check (#22996) 2021-03-03 16:48:55 +08:00
a581698639 *: fix grpc's client endpoint's hard-coded port number (#20715)
Signed-off-by: iosmanthus <myosmanthustree@gmail.com>
2020-11-03 12:38:40 +08:00
2ef1afe604 test: stabilize test TestCluster (#19646) 2020-09-03 22:51:06 +08:00
37984d7cb0 tests: improve tests for Windows platform (#19088)
* tests: improve tests for Windows platform

* fix race build

* update badger to fix kill issue on Windows

Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-13 17:17:19 +08:00
787b7d2db0 cmd: generate free port instead of hard-code port number (#18951) 2020-08-04 16:30:05 +08:00
08f0620985 test: fix a leak in CampaignOwner() (#18051)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-19 11:34:05 +08:00
ac30f5322e mockstore: introducing embedded unistore (#17156) 2020-05-18 17:28:44 +08:00
dcafb527ff *: Handle the error of "CampaignOwner" (#16470) 2020-05-09 14:28:05 +08:00
c561d5aa99 *: remove useless conversions and omit some types (#16262) 2020-04-10 00:23:06 +08:00
3a255c5518 *: fix unit tests on the windows platform (#14826) 2020-02-18 15:23:17 +08:00
087d2bd7fa owner: fix TestSingle (#13427) 2019-11-19 13:04:53 +08:00
27426daed4 *: make the version of etcd consistent with pd (#13176)
Signed-off-by: Neil Shen <overvenus@gmail.com>
2019-11-06 12:08:03 +08:00
5c48d93368 *: upgrade grpc to 1.23.0 (#12055) 2019-09-12 13:59:46 +08:00
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