322476ca68
*: add tag to log message to make it easy to be filtered out.
2015-12-17 20:04:20 +08:00
5e52c60240
*: Fix bug for select @@character_set_database
...
1. Add charset info when create schema
2. Set charset variable when run use statement
Fix: https://github.com/pingcap/tidb/issues/706
2015-12-11 14:29:32 +08:00
16c09e14c7
domain: make go vet happy.
2015-12-09 15:58:20 +08:00
7336360a59
*: return error instead of log.Fatal for TableFromMeta
2015-12-09 14:30:38 +08:00
a6eb46f8a2
domain: Address comment.
2015-12-06 22:22:29 +08:00
109a92a57b
domain: Address comment.
2015-12-06 11:30:26 +08:00
86d04a07c2
domain: support retry if load failed.
2015-12-05 20:03:18 +08:00
7c1fc586f2
domain: lock reload and fix version check.
...
In mysql test , sometimes the domain’s schema version may be changed
lesser because of another slow transaction.
So we must use lock to guarantee reload once at same time and update
the version check way.
It is very hard to write a test for this, so if we can pass mysql test
using HBase with no error, I think it is fixed.
2015-11-27 17:43:27 +08:00
fa34c8c935
domain: update test
2015-11-23 14:21:14 +08:00
8cd710b1d4
domain: add test
2015-11-23 14:00:28 +08:00
e640d837a6
domain: add the reload timeout range
2015-11-23 13:36:14 +08:00
158dcbeb0e
domain: update log
2015-11-23 11:22:57 +08:00
ea98de8e4a
domain: update log
2015-11-23 11:11:32 +08:00
0b8b20c014
domain: update code
2015-11-23 11:00:59 +08:00
c3814a818c
domain: update code
2015-11-23 10:39:33 +08:00
5dc1ae0285
domain: add reload timeout
2015-11-20 14:20:37 +08:00
3e84e7e96d
*: remove log
2015-11-20 13:52:59 +08:00
7ffa9da9c7
domain: add log
2015-11-20 10:27:41 +08:00
200686bd57
*: rename mockStatist to mockStatistics, and
...
do tiny clean
2015-11-18 13:33:38 +08:00
c11f6f4e6c
Merge remote-tracking branch 'origin/siddontang/dev-schema-change' into zimuxia/show_status
...
Conflicts:
domain/domain.go
2015-11-17 20:10:39 +08:00
7cc83774c3
domain: skip ErrDBClosed in load loop.
2015-11-17 20:01:35 +08:00
f4ca52ea36
Merge remote-tracking branch 'origin/siddontang/dev-schema-change' into zimuxia/show_status
...
Conflicts:
ddl/ddl.go
domain/domain.go
2015-11-17 15:56:52 +08:00
7b41184fe6
*: rename statist to statistics
2015-11-17 15:12:53 +08:00
051a476b2a
*: update code structure
2015-11-17 14:49:55 +08:00
8aedcdce76
domain: raise panic if reload failed and try reload before get.
2015-11-17 09:39:59 +08:00
6ba84b78f4
*: fix using stat when ddl is closed
2015-11-16 14:35:54 +08:00
04c9ea4966
*: update test and pass golint
2015-11-16 12:00:32 +08:00
0ddf6eb415
*: add stat interface and corresponding implememtation
2015-11-16 09:55:17 +08:00
efaeeff945
*: add ddl callback interface
...
we can customize the callback for better test.
2015-11-09 17:38:07 +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
b029a5fd07
domain: Address comment.
2015-11-05 08:57:36 +08:00
9aeb3b27ec
*: reset lease time after bootstrap
2015-11-04 19:16:49 +08:00
f4e618f1c1
*: merge master and fix conflict.
2015-10-29 21:39:45 +08:00
0c9a4e324b
*: cleanup meta and structure.
2015-10-29 17:25:05 +08:00
0b7bd49bb5
*: lease uses time.Duration and add close for test conveniently.
2015-10-29 10:17:21 +08:00
c8bbf7879d
*: support create table and drop table.
2015-10-27 15:05:33 +08:00
d0c80f6a0d
*: add drop schema
2015-10-27 10:09:57 +08:00
2cb3e2add9
*: first commit and support create schema.
2015-10-26 21:54:54 +08:00
501e3a7a09
*: Address comment
2015-10-23 16:49:01 +08:00
deaeacddba
*: simplify meta function
2015-10-23 16:09:55 +08:00
b647f8fba4
*: add schema lease feature
2015-10-23 09:50:54 +08:00
791f0d6f78
*: refactor with meta API.
2015-10-21 14:46:58 +08:00
c214b7d159
domain: update log
2015-10-09 10:11:30 +08:00
d398e37832
Refactor WIP
2015-09-24 21:41:22 +08:00
be44e4a286
*: Introduce schema version
...
Make schema change to an atomic operation.
2015-09-24 17:28:34 +08:00
1f2cacedea
*: Introduce schema version
...
To keep DDL change to atomic operation
2015-09-24 17:28:34 +08:00
9238a23f27
*: pass go vet
...
pass go vet
2015-09-06 18:45:42 +08:00
0d6f270068
Add files
2015-09-06 12:08:47 +08:00