Commit Graph

30 Commits

Author SHA1 Message Date
b43c9ffa85 *: migrate sync.WaitGroup to util.WaitGroupWrapper (#31257)
ref pingcap/tidb#29517
2022-01-04 15:04:35 +08:00
b4df7ca4dc test: make all the tests run in serial (#30692) 2021-12-14 18:06:36 +08:00
7755d25aba *: Integrate SkyWalking-eyes to check license headers in CI and fix licenses headers (#27198) 2021-08-16 18:52:00 +08:00
01a87e3257 *: solve cloud tikv disk full problem (#26302) 2021-08-08 13:21:13 +08:00
bf7e353f68 domain: migrate test-infra to testify (part 2) (#26752) 2021-08-03 17:25:07 +08:00
51724f8e95 domain: migrate test-infra to testify (part 1) (#26751) 2021-08-02 19:01:06 +08:00
cc5e161ac0 *: use tikv/client-go/v2 (#25359) 2021-06-11 17:24:35 +08:00
3cd5260773 ddl: collect actionTypes for schema change (#18195)
* record action types in schema change history

* change comments

* remove comment

* refactor, remove some params and return values

* change value to pointer, remove useless comments

* refactor comments

* change return value

* refactor

* remove all info

* fix action type append

* update comment

Co-authored-by: Lynn <zimu_xia@126.com>
2020-07-08 11:41:09 +08:00
0d76bdb04a *: fix schema change validation for partitioned table when transaction commit (#14235) 2020-01-01 19:17:09 +08:00
3b3b488a65 *: close tickers properly (#13902) 2019-12-05 13:32:39 +08:00
ba9d1ca960 *: adjust delta schema count and add metrics (#11625) 2019-09-27 20:33:18 +08:00
fc73546694 domain: improve UT coverage to 80% (#10726) 2019-06-11 14:40:14 +08:00
83ff58cd91 domain: make schema validator test more stable and fix planner test leak (#9904) 2019-03-27 16:12:57 +08:00
20463d6da9 domain: make schema validator test more stable. (#9520) 2019-03-15 17:35:55 +08:00
f1c6e94d01 domain: make tests stable (#9410) 2019-02-22 12:56:48 +08:00
ec833bc4d2 *: fix some lints produced by golangci-lint (#8999) 2019-01-16 16:44:49 +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
4ff58ea3b2 domain: make TestSchemaValidator stable (#8334) 2018-11-20 15:36:25 +08:00
73a3497d2a variable: validate setting tx_isolation variable value (#8299) 2018-11-14 18:23:44 +08:00
418cdf2308 plan: use point get plan for UPDATE statement (#7586)
* plan: use point get plan for UPDATE statement
2018-09-04 07:56:42 +08:00
e28a81813c *: check the schema-validity when the DDL fails (#6797) 2018-07-09 17:35:04 +08:00
0cadec4fb2 domain: make schema validator test more stable (#6128)
Extend lease's value to 10ms in TestSchemaValidator
2018-03-23 00:56:20 -05: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
0a0a1a16d7 domain: Make test stable (#4034) 2017-08-04 19:15:26 +08: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
caeb777107 domain: change lease in schema validator test to 5 millisecond (#3522)
Sometimes this test fail in CI, when time.Ticker has a low precision.
Change the lease value longer to make it more robust
2017-06-22 14:47:49 +08:00
a9a33b0209 fix typo (#3179) 2017-04-29 00:24:27 +08:00
c29ebe0715 domain: schema lease manage abstraction (#2137) 2016-12-27 20:23:42 +08:00