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
5c65128632 ddl: make the leak test stable (#9139) 2019-01-23 13:01:55 +08:00
db2127a0dd ddl: split tests to speed up tests (#8612)
* ddl: add the db_partition_test
2018-12-13 15:06:04 +08:00
c137cada68 *: change golang.org/x/net/context to standard context (#8579) 2018-12-05 13:54:00 +08:00
89dda9d9a8 *: move parser to a separate repository (#8036) 2018-10-25 11:12:10 +08:00
528d959694 ddl: fix data race (#7548) 2018-08-30 14:30:10 +08:00
42675d97fb ddl: adjust the structure of ddl (#6449) 2018-06-14 17:13:50 +08:00
7de583383c ddl: make testleak be more stable. (#6224) 2018-04-04 20:33:48 +08:00
cb04e97abf ddl, meta: clean the jobs in adding index queue (#6161) 2018-04-04 19:04:48 +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
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
4880d920e7 Pass sessionVars for stats() to support session-scoped status vars. [ci skip] (#3974) 2017-08-02 15:29:16 +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
2518f8548a *: Add the arguments of ctx and etcdCli to the NewDDL interface (#3302) 2017-05-22 16:11:05 +08:00
19af8d720f ddl: Add the function of close (#2562)
add the function of close, use Stop instead of close and add log.
2017-01-26 13:23:27 +08:00
d3f0612263 ddl: avoid assert in hook function. (#2479) 2017-01-16 16:38:29 +08:00
6bc6f7e98b *: Add the field of history information in job structure (#2046) 2017-01-05 16:34:39 +08:00
64484a4257 *: refactor context.Context (#2298)
Make transaction life cycle under control, prepare for correctly handle schema out of date error.
The old `GetTxn(forceNew boll)` is replaced by `Txn` and `NewTxn`,
`CommitTxn` and `RollbackTxn` is removed.
2016-12-23 13:02:41 +08:00
64e181286a ddl: Add table infomation and schema version to history job (#1857) 2016-10-24 14:58:17 +08:00
5408833b9a ddl: improve ddl test (#1387) 2016-07-05 11:21:50 +08:00
08034540f0 *: Add leak test
* *: add leak test and tiny clean up

* *: unify test format and add leak test

Conflicts:
	store/localstore/compactor_test.go
	mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00
xia
c4d97a7976 ddl: rename startDDLJob to doDDLJob 2016-03-31 16:20:51 +08:00
xia
011162b8fb ddl: update stats tests and background worker tests 2016-02-19 10:02:06 +08:00
xia
79aaefbbc0 *: rename job to ddlJob, rename task to bgJob 2016-01-20 12:19:54 +08:00
xia
051a476b2a *: update code structure 2015-11-17 14:49:55 +08:00
xia
04c9ea4966 *: update test and pass golint 2015-11-16 12:00:32 +08:00
e667be893b *: add test 2015-11-16 09:59:14 +08:00
999d883ce8 *: Address comment. 2015-11-06 10:37:22 +08:00
fbed93ca52 *: support simple statistics
we will use show status to show DDL statistics later.
2015-11-05 22:52:49 +08:00