cb43fc9516
domain: fix stats worker cannot recover from panic ( #9072 )
2019-01-15 20:22:58 +08:00
47ac8aef19
domain: avoid an annoying log message ( #8159 )
2018-11-03 12:08:44 +08:00
32b1dbd8d5
*: rename "github.com/pkg/errors" to "github.com/pingcap/errors" ( #8136 )
...
We import "github.com/pkg/errors" in the code, and actually put
the "github.com/pingcap/errors" there in the vendor path.
That's a dirty hack, and prevent the introduce of Go module.
2018-11-01 16:09:07 +08:00
89dda9d9a8
*: move parser to a separate repository ( #8036 )
2018-10-25 11:12:10 +08:00
4b5d83bcc4
domain: add recent slow queries queue and ShowSlowQuery() function ( #7692 )
2018-09-26 15:09:31 +08:00
cb03f2bec1
move from juju/errors to pkg/errors ( #7151 )
2018-09-12 15:42:20 +08:00
de9c192cba
*: move mocktikv from tikv pkg ( #5834 )
2018-02-08 23:31:29 +08:00
b66e70316d
domain: refactor NewDomain ( #5270 )
2017-11-30 00:10:35 -06:00
12bf655413
*: change some tests' storages to mock-tikv ( #4961 )
2017-10-31 18:18:31 +08:00
38cabb10d3
ddl,domain: make test leak more stable ( #4625 )
2017-09-25 02:07:28 -05:00
1043b0f794
domain: refactor schema validator interface ( #4220 )
2017-09-18 08:59:43 -05:00
1eebb87156
ddl: remove backgroud worker, use delete-range to speed up something. ( #3993 )
2017-08-09 16:59:25 +08:00
b41c1d4483
domain: make test stable ( #4090 )
2017-08-08 20:41:10 +08:00
7ae996c411
Set stats lease. ( #3408 )
2017-06-07 18:19:52 +08:00
31579bb3f0
Fix asyncGetTSWorker goroutine leak ( #3291 )
2017-05-22 16:53:31 +08:00
f35ab30127
*: change the implementation of domain schema lease ( #2327 )
...
lease is based on pd timestamp oracle instead of TiDB local time
return retryable error when schema check find schema changed
move schema lease check to 2PC, use commitTS
2017-01-03 19:45:08 +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
1f6737ef67
*: remove SetLease method in domain ( #2149 )
2016-12-12 18:26:38 +08:00
450c904666
domain: make test pass stably ( #2196 )
2016-12-08 11:07:29 +08:00
5c9f073072
*: Do retry when schema is expired ( #2094 )
...
*: Do retry when schema is expired
2016-11-28 12:17:40 +08:00
2432209720
domain: Fix data race ( #2062 )
...
* *: fix data race
2016-11-22 20:59:05 +08:00
1181acc640
*: Reduce loading schema times ( #1984 )
...
* *: only if it's success to do DDL or in reloadLoop to load schema
2016-11-22 18:34:06 +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
bf9de5ccee
executor: avoid create new domain in test. ( #1910 )
...
A store should has only one domain, and it is already created when create a session.
we should not manually create domain.
2016-10-31 19:56:29 +08:00
4eec6caf58
*: Fix issue#1435 ( #1467 )
...
* *: fix issue 1435
2016-07-23 19:08:15 +08:00
515f193bd2
*: Remove coldef package
...
There are lots of redundancies between ast and coldef. So we remove
coldef.
2016-03-05 19:11:04 +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
86d04a07c2
domain: support retry if load failed.
2015-12-05 20:03:18 +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
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
8aedcdce76
domain: raise panic if reload failed and try reload before get.
2015-11-17 09:39:59 +08:00
9aeb3b27ec
*: reset lease time after bootstrap
2015-11-04 19:16:49 +08:00
2cb3e2add9
*: first commit and support create schema.
2015-10-26 21:54:54 +08:00
b647f8fba4
*: add schema lease feature
2015-10-23 09:50:54 +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