Commit Graph

49 Commits

Author SHA1 Message Date
5c65128632 ddl: make the leak test stable (#9139) 2019-01-23 13:01:55 +08:00
e06c87d3c1 add an option for AddRecord and Create (#8884) 2019-01-02 11:30:53 +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
f497444389 server: support resigning ddl owner, use http method ddl/owner/resign (#7649) 2018-09-11 15:18:17 +08:00
6e7d75299d test: refine test (#7414) 2018-08-16 17:05:59 +08:00
b4a0275268 ddl: fix data race in schema_test (#7203) 2018-07-31 21:43:15 +08:00
8b913c95ef *: rename "GetDDLJob" to "GetDDLJobByIdx" (#7129) 2018-07-25 14:28:45 +08:00
da6f0c1edd ddl: initial support for parallel DDL (#6955) 2018-07-25 10:48:38 +08:00
42675d97fb ddl: adjust the structure of ddl (#6449) 2018-06-14 17:13:50 +08:00
510287c512 ddl: remove some useless functions (#6379) 2018-04-26 13:17:38 +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
4e1a114e68 *: move package context to sessionctx (#5890) 2018-02-22 18:03:38 +08:00
14ed94132c executor: fix issue #5132, update handle id with some other unique keys report Duplicate keys. (#5138) 2017-11-20 11:06:28 +08:00
62433663e5 util/types: change types path (#5007)
* util/types: change types path
2017-11-04 10:37:14 -05:00
1eebb87156 ddl: remove backgroud worker, use delete-range to speed up something. (#3993) 2017-08-09 16:59:25 +08:00
5943198358 *: Add the two states test (#3804)
* ddl: add different state tests

* ddl: update

* ddl: clean up

* ddl: add a comment

* ddl: make more readable

* ddl: add a comment

* ddl: add the error check

* ddl: address comments
2017-07-26 00:24:56 +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
fee2ed1849 ddl: Make verification background job more stable (#2683) 2017-02-20 22:43:11 +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
bb70acda13 ddl: rename batchSize to batchCnt (#2005) 2016-11-15 16:05:25 +08:00
3f2f6306bc ddl: remove useless test and adjust test position (#1891) 2016-10-30 22:53:46 +08:00
b80ba788ca ddl: Add dbInfo and tblInfo in some operations of DDL (#1870) 2016-10-26 16:10:43 +08:00
64e181286a ddl: Add table infomation and schema version to history job (#1857) 2016-10-24 14:58:17 +08:00
5df5085e33 *: Add row count field in a job, fix a drop schema bug and pass race (#1759) 2016-09-28 18:11:40 +08:00
536d78ee2b ddl: Fix error code bug and update ddl test (#1700) 2016-09-08 11:28:52 +08:00
e808e842e9 ddl: improve index change test. (#1392) 2016-07-05 17:37:32 +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
4319909e08 *: unify error format in infoschema package 2016-03-29 11:10:56 +08:00
xia
7a3daf5dca *: address comments and add test 2016-01-21 19:44:42 +08:00
xia
79aaefbbc0 *: rename job to ddlJob, rename task to bgJob 2016-01-20 12:19:54 +08:00
xia
f239c25b15 *: update test 2016-01-20 12:19:54 +08:00
xia
291c5689e7 ddl: reduce the number of arguments the getTable takes 2016-01-20 12:19:26 +08:00
fbe684270b *: Use schema errors in ddl 2015-12-23 16:10:15 +08:00
56fff40d62 *: Address comment 2015-12-13 22:49:40 +08:00
a21673dff3 *: merge master and fix conflict. 2015-11-06 16:33:50 +08:00
f5d1854186 ddl: update and add table test. 2015-10-30 11:32:48 +08:00
f4e618f1c1 *: merge master and fix conflict. 2015-10-29 21:39:45 +08:00
42472f0d61 ddl: fix make check 2015-10-29 16:28:42 +08:00
e1a852abdc ddl: add schema test 2015-10-29 16:22:56 +08:00