4f19445b9d
ddl/ddl_test.go: refactor testTableInfo to return error ( #30069 )
2021-11-26 21:43:51 +08:00
efd6c5ec14
ddl/ddl_test.go: refactor testSchemaInfo to return error #29964 ( #30008 )
2021-11-23 14:17:50 +08:00
49909a247b
ddl/ddl_test.go: refactor testNewDDLAndStart to return error ( #29964 )
2021-11-22 12:17:49 +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
2ca98e393c
*: compatibility with staleread ( #24285 )
2021-05-17 19:53:39 +08:00
cb94139137
ddl: fix err check ( #22988 )
2021-03-03 11:26:54 +08:00
42eaaa590d
*: move backfillWorker code to backfilling.go, update logs and comments ( #19503 )
2020-09-02 15:48:38 +08:00
f82e5320ad
ddl: handle store closed in doDDLJob ( #18844 )
...
* ddl: handle store closed in doDDLJob
* fix typo
* fix test
* fix test
* address comment
* address comments
* fix test
* address comment
* address comment
* fix data race
* fix data race
* don't repeat code
* address comment
* adress comment
* avoid failpoint change between two injection
* add comments
* change behaviour, fix test
* fix build option
* remove used variable
* Revert "remove used variable"
This reverts commit df93c431163515a496015f20f323ea91480f0020.
* modify comment
* try fix deadlock
* try fix deadlock
* try fix test
Co-authored-by: Arenatlx <ailinsilence4@gmail.com >
Co-authored-by: Lynn <zimu_xia@126.com >
2020-09-01 11:27:33 +08:00
912336d8ca
ddl: convert handle to string before assigning to Stat variables ( #18146 )
2020-06-22 14:44:23 +08:00
dcafb527ff
*: Handle the error of "CampaignOwner" ( #16470 )
2020-05-09 14:28:05 +08:00
6ccdf645dc
ddl: add a channel to limit multiple DDL jobs writing at the same time ( #14342 )
2020-03-05 14:13:38 +08:00
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
c4d97a7976
ddl: rename startDDLJob to doDDLJob
2016-03-31 16:20:51 +08:00
011162b8fb
ddl: update stats tests and background worker tests
2016-02-19 10:02:06 +08:00
79aaefbbc0
*: rename job to ddlJob, rename task to bgJob
2016-01-20 12:19:54 +08:00
051a476b2a
*: update code structure
2015-11-17 14:49:55 +08:00
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