6f95d18e01
*: remove a useless argument ( #2319 )
2016-12-25 16:18:53 +08:00
e49ca0355e
meta/autoid: add TestAsyn ( #2286 )
...
* meta: add TestAsyn
2016-12-21 15:36:07 +08:00
1c6c145f94
*: Set custom verbose flag to true ( #1956 )
...
* *: set custom verbose flag to true
* *: update .gitignore
2016-11-05 18:00:13 +08:00
d04dea2c57
*: use schema diff to reduce memory allocation ( #1858 )
...
When schema version has changed, we don't need to reload all schemas, only
modified table need to be reloaded, this will reduce the pressure on Go garbage collector.
Also removed used map in *inforSchema.
2016-10-24 15:17:44 +08:00
662cb41a1f
ddl: write DDL binlog when DDL is done. ( #1850 )
...
Previous implementation write DDL binlog as early as when job is added to the queue,
but DDL may be canceled, we should not sync the ddl at that time, there would be a long
time waiting for the DDL to be done.
After this commit, DDL binlog is written right before the DDL job is done, so we don't need to wait.
Also expose a 'GetAllHistoryJobs' method in meta which will be used later.
2016-10-20 14:03:33 +08:00
efc96a73a6
*: Support set dist sql concurrency by set system variable ( #1795 )
2016-10-17 15:12:17 +08:00
6819e22c3c
meta, structure: support snapshot meta. ( #1739 )
...
Snapshot meta will be used to load history schema, so we can
support history read with changed schema version.
2016-09-20 11:11:10 +08:00
2b5d2b15d0
*: Fix mysql_test and make autoid rebase method more efficient. ( #1637 )
...
* *: fix mysql_test and more efficient autoid rebase method.
2016-08-25 17:49:51 +08:00
fa06043ce7
More efficient autoid rebase methord ( #1631 )
...
Prevent update kv everytime when rebase autoid
2016-08-24 11:18:40 +08:00
e31b281ee7
*: use new MyDecimal implementation. ( #1611 )
2016-08-22 20:24:39 +08:00
2b4acb0caf
support cbo ( #1498 )
2016-07-27 11:10:52 +08:00
2e2bb6d2b0
autoid: increase step of allocator. ( #1372 )
...
* autoid: increase step of allocator.
* vendor: update pd client godeps.
* vendor: update kvproto godeps.
2016-07-05 19:03:41 +08:00
b8bf59592f
executor: implement ANALYZE TABLE ( #1327 )
2016-06-20 11:13:16 +08:00
708c195782
*:generate local schema ID for memory table. ( #1094 )
...
* *:generate local schema ID for memory table.
* meta/autoid: reorder import
2016-04-13 10:29:16 +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
aaa7333359
mysql: rename Db to DB
2016-03-31 16:20:51 +08:00
6aacddd44e
*: unify error format
2016-03-31 16:20:47 +08:00
7a7026e750
*: add a null kind judgment in the update statement and update comments
2016-03-18 14:29:57 +08:00
15c0319294
*: fix issue 962 and handle other questions about auto increment.
2016-03-18 12:23:55 +08:00
6feff794a3
*: address comments
2016-03-10 16:29:36 +08:00
ce531c7f0d
executor: fix issue959 and add tests
2016-03-10 15:13:18 +08:00
cd0a3dbe03
*: add Rebase interface and add tests
2016-03-10 15:13:18 +08:00
3cc6bf035f
table/tables: use red black tree to implement memory table.
2016-02-25 11:41:49 +08:00
9997e7f46d
*: Use memory table to implement Information_Schema
2016-02-20 21:53:43 +08:00
ecad0210be
*: address comments
2016-02-03 17:54:22 +08:00
7a3daf5dca
*: address comments and add test
2016-01-21 19:44:42 +08:00
79aaefbbc0
*: rename job to ddlJob, rename task to bgJob
2016-01-20 12:19:54 +08:00
071eff6716
*: address comments
2016-01-20 12:19:54 +08:00
c789674315
ddl: add test
2016-01-20 12:19:54 +08:00
f239c25b15
*: update test
2016-01-20 12:19:54 +08:00
73c5a50ce4
*: update log and comments
2016-01-20 12:19:54 +08:00
7d66ae58ac
*: update drop database/table operation
2016-01-19 11:43:31 +08:00
3b95fb92ae
meta: support task operations
2016-01-19 11:43:31 +08:00
322476ca68
*: add tag to log message to make it easy to be filtered out.
2015-12-17 20:04:20 +08:00
70078490ad
meta: toggle alloc id log.
2015-12-17 17:55:17 +08:00
29420a9589
meta: use 'm' for meta prefix
2015-11-27 20:30:08 +08:00
9c6b27877d
*: must wait 2 * lease schema lease time when running job.
2015-11-18 09:53:14 +08:00
d0caf9d166
*: save reorganization processed handle in meta.
2015-11-10 11:12:03 +08:00
0556faf0af
Merge pull request #514 from pingcap/siddontang/schema-bootstrap
...
reset lease time after bootstrap
2015-11-05 13:35:53 +08:00
9aeb3b27ec
*: reset lease time after bootstrap
2015-11-04 19:16:49 +08:00
6515263315
*: add add column ddl skeleton.
2015-10-31 14:21:24 +08:00
cfb8d0a635
*: Update job's last update time stamp
2015-10-30 19:47:17 +08:00
f4e618f1c1
*: merge master and fix conflict.
2015-10-29 21:39:45 +08:00
e2b0b88589
ddl: Rename TMeta to Meta
...
Clean up
2015-10-29 18:23:45 +08:00
0c9a4e324b
*: cleanup meta and structure.
2015-10-29 17:25:05 +08:00
c8bbf7879d
*: support create table and drop table.
2015-10-27 15:05:33 +08:00
2cb3e2add9
*: first commit and support create schema.
2015-10-26 21:54:54 +08:00
643a77dba4
meta: Address comment.
2015-10-26 17:21:39 +08:00
97db778ade
meta: Address comment.
2015-10-26 13:42:32 +08:00
c7592fc1ad
*: Address comment.
2015-10-26 13:20:46 +08:00