Commit Graph

32 Commits

Author SHA1 Message Date
365264cd21 ddl: add restore deleted table (#7937) 2019-01-16 15:37:33 +08:00
0840a5e478 ddl: new only one delRange and sessionPool in ddl (#8522) 2018-12-27 14:57:47 +08:00
e03ef6099c ddl: support alter table .. truncate partition (#8624) 2018-12-11 13:52:57 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
09c6bff91c *: Make use of the upperBound of ticlient's kv_scan interface to ensure no overbound scan will happen (#8081) 2018-11-09 18:49:00 +08:00
d125958380 tikvclient: Add endKey param to Scanner (#8178) 2018-11-08 18:21:40 +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
56f5ff8e09 Use TSO instead of seconds in gc_delete_range table (#7610) 2018-09-05 18:51:18 +08:00
55ca8512fc ddl: worker add ctxPool field to make executing sql in ddl package possible. (#7447)
* ddl: worker add ctxPool field to make executing sql in ddl package possible.
2018-09-04 17:56:50 +08:00
65ecdff622 ddl:support add index rollback of partitioned table (#7437) 2018-08-31 11:46:00 +08:00
8199f60492 ddl:support drop index for the partitioned table. (#7306) 2018-08-17 14:14:19 +08:00
82a6c1085c *: introduce the concept of physical ID, code refactory (#7374) 2018-08-16 10:33:24 +08:00
25f1e808f5 Use the revive linter. (#7197) 2018-07-31 13:19:09 +08:00
46e5ff3f41 ddl: support truncate partitioned table and drop partitioned table (#7036) 2018-07-23 13:30:36 +08:00
cc722546ef ddl:support alter table drop partition (#6460)
support alter table drop partition
2018-07-11 18:26:19 +08:00
42675d97fb ddl: adjust the structure of ddl (#6449) 2018-06-14 17:13:50 +08:00
9382be808f ddl: wait for 2*lease when finishing delete-reorg in a rollback operation (#6226) 2018-04-08 23:57:56 +08:00
fddaf75a32 ddl: delete ranges when rolling back 'add index' (#6188) 2018-04-02 16:54:08 +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
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
8b149c3323 Prealloc / collides with package name (#5560) 2018-01-05 19:15:54 +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
0977fd07e6 *: begin opentracing from dispatch() and change interface to Execute(ctx, sql) (#5027) 2017-11-07 02:52:15 -06:00
3e1d036336 *: log the caller of "terror.Log()" (#4729) 2017-10-10 11:26:43 +08:00
ee353996d4 ddl, store: move the ddl dependency from tikv pkg. (#4720) 2017-10-09 15:35:42 +08:00
eb8df3519a *: prepare to enforce errcheck, part1 (#4670) 2017-09-30 16:23:37 +08:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
5340b67466 remove all stuff about backgroud DDL worker. (#4227) 2017-08-18 16:34:28 +08:00
f5fd467f46 *: change terror.ErrorEqual to Error.Equal, which is more effetive (#4217) 2017-08-17 20:06:48 +08:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00