Commit Graph

27 Commits

Author SHA1 Message Date
b74c13a898 *: run go fmt in go1.17 (#28784) 2021-11-05 12:33:03 +08:00
13567fedb4 util/testleak: update ignore stack list (#28950) 2021-10-19 17:26:42 +08:00
680de922ed *: fix license header (#28085) 2021-09-17 22:26:41 +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
c7e0e53219 util: fix leak checking (#26514) 2021-07-25 12:14:14 +08:00
5869dbfa4d util: add ttlManager to ignore list (#26301) 2021-07-16 19:45:34 +08:00
febac515b1 store/tikv: move coprocessor out (#22922) 2021-03-01 11:42:54 +08:00
4031706e32 gcworker: remove handler interface (#22779)
Signed-off-by: disksing <i@disksing.com>
2021-02-18 12:09:31 +08:00
1702608a6f test: ignore lumberjack.v2.(*Logger).millRun in leaktest (#20935) 2020-11-10 14:41:20 +08:00
2aa64f562b test: stabilize leak test (#19526) 2020-08-27 16:39:27 +08:00
xhe
a0160612a8 ddl: support ALTER PLACEMENT clause (#19065)
* ddl: check count here

* ddl: drop all rules that will be overrided

* ddl: change ID format

* ddl: local placement deifinition

* ddl: support `ALTER PLACEMENT` clause

* ddl: add test cases

* ddl: fix ID format

* ddl: copy comments too

* ddl: allow ignore replicas with dict constraints

* ddl: rename COUNT to REPLICAS

* ddl: clone method for RuleOp

* ddl: checkPlacementSpec => buildPlacementSpec

* ddl: remove TODO
It is possible to incrementally add replicas. Consider drop later. Let
us support it correctly first.

* ddl: ID format
Datbase/schema ID is added back. A common prefix will improve the
efficience of PD batch operation. Drop a whole db/table will only need
one loop for rules.

* ddl: move const/util to placement package

* ddl: fix test

* ddl: fix format error

* ddl: error check fix

* ddl: use an explicit condition flag

* ddl: adapt parser changes

* ddl: fix go.mod/simplify code path

* ddl: go mod tidy

* ddl: improve tests

* ddl: return new rules instead of appending

* ddl: return constraints instead of appending

* ddl: fix test

* ddl: one more test

* ddl: remove rules rollback, meaningless

* ddl: fix slice

* ddl: add period to comments

* Update ddl/ddl_api.go

Co-authored-by: tangenta <tangenta@126.com>

* ddl: remove unused arguments

* infosync: do not request PD if no ruleOperations

* ddl: a new test suite

Co-authored-by: tangenta <tangenta@126.com>
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-08-11 15:05:05 +08:00
xhe
4ef3b86e5a *: support ALTER PARTITION clause (#18611) 2020-08-04 10:15:13 +08:00
cc60ac6bef tests: fix several stability issues (#18286)
Co-authored-by: ti-srebot <66930949+ti-srebot@users.noreply.github.com>
2020-07-03 10:33:30 +08:00
3a4e733af6 test: fix testleak in TestIntegration (#17667)
Signed-off-by: wjhuang2016 <huangwenjun1997@gmail.com>
2020-06-04 17:34:49 +08:00
128ec02a9f test: fix a bug for leak check (#14592) 2020-02-05 14:15:23 +08:00
bb252a4582 test: add some goroutines to leak check white list (#14538) 2020-01-21 19:49:39 +08:00
c994eb4802 license: add license for script files (#14252) 2019-12-28 18:38:13 +08:00
7447f04409 executor: trace and control memory usage in DistSQL layer (#10003) 2019-04-12 16:43:55 +08:00
5c65128632 ddl: make the leak test stable (#9139) 2019-01-23 13:01:55 +08:00
db2127a0dd ddl: split tests to speed up tests (#8612)
* ddl: add the db_partition_test
2018-12-13 15:06:04 +08:00
ce5a3d639c *: remove localstore dependency. (#4965)
* *: use mocktikv for some tests

* change privilege tests.

* remove localstore dependency.

* fix golint

* fix test leak

* fix go sql test.

* change test

* change test

* address comments
2017-11-02 11:04:27 +08:00
fe31f4b597 plan,statistics: don't forget to close domain in testing (#4591) 2017-09-20 21:42:25 +08:00
c92b124aa9 *: make test leak great again (#4543) 2017-09-20 17:07:32 +08:00
3b26de9c9f Fix typo (#3583) 2017-06-30 14:48:45 +08:00
821d928e7a *: use async get timestamp API && remove asyncGetTSWorker (#3459) 2017-06-13 13:05:30 +08:00
c1902e62c4 util/testleak: make it work right (#3414)
* fix testleak package
* provide "make leak" to makefile
2017-06-07 20:39:44 +08:00
08034540f0 *: Add leak test
* *: add leak test and tiny clean up

* *: unify test format and add leak test

Conflicts:
	store/localstore/compactor_test.go
	mysql/error_test.go
*: add leak test
2016-04-07 20:53:45 +08:00