Commit Graph

1754 Commits

Author SHA1 Message Date
a724feaaa9 ddl: close should wait reorg coroutine returns too. 2015-11-17 11:57:44 +08:00
8aedcdce76 domain: raise panic if reload failed and try reload before get. 2015-11-17 09:39:59 +08:00
6019d1f503 ddl: support GetLease and set lease after closing worker. 2015-11-17 09:09:26 +08:00
c869f3ce7a ddl: don't remove reorg info.
if we remove reorg info but don’t update the DDL status when crashed,
another server will start a whole reorganization again.
2015-11-16 20:34:49 +08:00
ae710b55dc Merge pull request #583 from pingcap/shenli/fix-history
Fix retry empty stmt history bug
2015-11-16 15:11:21 +08:00
2899d09d50 *: Address comment 2015-11-16 12:51:29 +08:00
6ac1d8eb1e *: Address comment and limit retry times 2015-11-16 12:34:46 +08:00
7d0d8967ac ddl: let outer control DDL worker start/stop. 2015-11-16 11:03:18 +08:00
42cea84752 *: merge master and fix conflict. 2015-11-16 10:30:15 +08:00
47e1d7d19d *: Address comment 2015-11-14 21:54:26 +08:00
2d56df234f *: Fix bug in retry stmt and add some test cases 2015-11-14 18:34:11 +08:00
7cb89d5693 Merge pull request #588 from pingcap/qiuyesuifeng/fix-reorg-state-test-bug
ddl: fix reorg state test bug.
2015-11-14 16:26:46 +08:00
06f24a43d7 ddl: fix reorg state test bug. 2015-11-14 16:01:12 +08:00
6f0b599086 tidb-server: support schema lease flag. 2015-11-14 14:16:35 +08:00
c484090240 tidb: update SetSchemaLease, only affects not local store. 2015-11-14 14:16:20 +08:00
a6e1213339 Merge pull request #585 from pingcap/siddontang/update-reorg
update reorg
2015-11-13 19:35:56 +08:00
737215bbf5 ddl: add reorg owner test 2015-11-13 17:24:08 +08:00
349f69fb2f ddl: no need to wait reorg done if lease > 0 2015-11-13 17:02:39 +08:00
0d93a30e7f tidb: remote store use 100ms for schema lease time. 2015-11-13 16:10:58 +08:00
b0a09e0525 ddl: just test if owner before to run reorganization. 2015-11-13 15:52:19 +08:00
48c3644d0b tidb: Clean env when running getExecRet 2015-11-13 14:30:16 +08:00
9370818512 tidb: Fix bug
Miss history stmt when autocommit
2015-11-13 11:46:06 +08:00
301ea1c93a *: Merge branch 'master' into siddontang/dev-schema-change 2015-11-13 09:41:12 +08:00
30f1fe0771 *: Address comment. 2015-11-12 21:04:14 +08:00
6d229525ac Merge pull request #576 from pingcap/coocood/index-point-lookup
plan: fix index point lookup.
2015-11-12 19:14:19 +08:00
c1b4921f6a Merge pull request #568 from pingcap/shenli/mysqldump
Add support for mysqldump
2015-11-12 16:03:25 +08:00
c601a25d0b Merge remote-tracking branch 'origin/siddontang/dev-schema-change' into siddontang/dev-schema-change 2015-11-12 15:34:08 +08:00
dd087d40c2 ddl: re-check condition not match error. 2015-11-12 15:34:04 +08:00
b41d64c334 Merge branch 'master' into coocood/index-point-lookup
Conflicts:
	tidb_test.go
2015-11-12 15:33:47 +08:00
62c15881c0 *: Merge branch 'master' into siddontang/dev-schema-change 2015-11-12 15:31:21 +08:00
f49d073b70 Merge pull request #577 from pingcap/shenli/issue-571
fix issue 571
2015-11-12 15:24:56 +08:00
18ce6b604c *: Fix bug in session.Retry()
Miss commit after retry
2015-11-12 15:00:24 +08:00
f5ff835c11 Merge pull request #578 from pingcap/qiuyesuifeng/dev-schema-change
Add/Drop column exist check.
2015-11-12 13:43:27 +08:00
e88ba4c060 Merge pull request #579 from pingcap/coocood/extract-quickstart
docs: extract quick start section to its own file.
2015-11-12 13:03:45 +08:00
840249541f ddl: address comment. 2015-11-12 12:42:31 +08:00
c8ea3068a8 plan: address comment. 2015-11-12 12:28:44 +08:00
cbf4732a54 ddl: drop column exist check. 2015-11-12 12:28:34 +08:00
b00955f4e4 tidb: Fix bug for stmt retry and add unit test case 2015-11-12 12:26:19 +08:00
03614232ff ddl: update schema lease for db test. 2015-11-12 12:19:24 +08:00
7bd318c835 plan: fix index point lookup.
The type converted seek value should be used to as the index key.
2015-11-12 11:53:22 +08:00
fccaf9b1f5 ddl: add column exist check. 2015-11-12 11:49:44 +08:00
c0254d809c ddl: cover error test. 2015-11-12 11:39:45 +08:00
b230d4b3dc *: remove no need DDL action. 2015-11-12 10:46:09 +08:00
e228879484 docs: fix link 2015-11-12 10:31:59 +08:00
973320bc61 docs: extract quick start section to its own file.
The README.md file is too long.
2015-11-12 10:29:38 +08:00
542bfebd36 *: merge master and fix conflict. 2015-11-12 10:21:50 +08:00
4a6348cce7 Merge pull request #566 from netroby/pr/add-introduce-docker
Document add: how to using docker with tidb
2015-11-12 10:08:20 +08:00
1fccd95733 ddl: verify data in kv storage for test. 2015-11-12 09:54:51 +08:00
3b59e0c404 Merge pull request #550 from pingcap/qiuyesuifeng/issue-279
Fix #279
2015-11-12 09:36:22 +08:00
50cec9436e Remove one line doc about replace config
Signed-off-by: ZhiFeng Hu <hufeng1987@gmail.com>
2015-11-12 08:05:13 +08:00