Commit Graph

22 Commits

Author SHA1 Message Date
c8d1ff7ca6 *: replace 'logutil.Logger(context.Background())' with 'logutil.BgLogger()' (#10866) 2019-06-21 19:13:31 +08:00
1154456af7 domain,owner: unify and normalize the format of the log (#9646) 2019-03-25 15:50:15 +08:00
419c881207 domain: stop schema validator to prohibit DML executing when tidb lost session of etcd (#8441) 2018-11-28 14:04:57 +08:00
2c26243b4c store/tikv,mysql: improve error message of GC life time (#7658) 2018-09-11 11:35:44 +08:00
e28a81813c *: check the schema-validity when the DDL fails (#6797) 2018-07-09 17:35:04 +08:00
935b66f5c5 ddl: refine syncer log and add some comments (#5871)
* ddl: refine syncer log and add some comments
2018-02-14 17:22:34 +08:00
4d5dd323d9 *: the result of admin show ddl ... shows a job‘s start time (#5517) 2018-01-04 10:50:35 +08:00
f1e89cde19 *: use lower-case of github.com/sirupsen/logrus (#5400)
*: rename github.com/Sirupsen/logrus to github.com/sirupsen/logrus

* vendor: update pd

* vendor: update github.com/pingcap/tipb/go-mysqlx
2017-12-14 16:25:58 +08:00
f7533a68d1 ddl: Add log details and tests (#5021)
* ddl: add log details and tests
2017-11-06 02:16:35 -06:00
0d19c5d7c2 domain: change schema validator data struct to queue (#4578) 2017-09-25 13:28:12 +08:00
1043b0f794 domain: refactor schema validator interface (#4220) 2017-09-18 08:59:43 -05:00
88e1666ac6 *: change the log package to logrus (#4452) 2017-09-08 00:45:07 -05:00
973565e29a domain: Fix the correctness issues after using etcd to sync schema version (#4073) 2017-08-09 17:09:52 +08:00
21c0bfe32e Add nil check on cacheItemInfos[currVer] to (#4058)
prevent nil dereference.
2017-08-07 00:12:32 -05:00
ab53786d33 *: Define the schema change at the table level (#3999) 2017-08-04 17:53:38 +08:00
42637f9e29 domain: fix a bug (#3750) 2017-07-13 22:53:32 +08:00
1837c097a9 *: Add TTL to the self schema version on etcd (#3427)
* *: add ddl ttl
2017-06-11 14:57:10 +08:00
b3c43e52ca *: retry commit for prepared statement when schema change (#3297) 2017-05-21 10:42:10 +08:00
302aa70f76 domain: check schema change when lease=0 (#3273) 2017-05-17 20:08:31 +08:00
a3b5a487d4 domain: fix a data race (#2397) 2017-01-05 14:49:06 +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
c29ebe0715 domain: schema lease manage abstraction (#2137) 2016-12-27 20:23:42 +08:00