Skip to content

Commit

Permalink
ttl: add methods to split ttl scan tasks (#39627) (#39775)
Browse files Browse the repository at this point in the history
close #39626
  • Loading branch information
ti-chi-bot authored Dec 20, 2022
1 parent 1371543 commit dcf88c8
Show file tree
Hide file tree
Showing 7 changed files with 1,181 additions and 28 deletions.
16 changes: 16 additions & 0 deletions ttl/cache/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -12,16 +12,22 @@ go_library(
visibility = ["//visibility:public"],
deps = [
"//infoschema",
"//kv",
"//parser/ast",
"//parser/model",
"//parser/mysql",
"//parser/terror",
"//sessionctx",
"//table/tables",
"//tablecodec",
"//ttl/session",
"//types",
"//util/chunk",
"//util/codec",
"//util/logutil",
"//util/mathutil",
"@com_github_pingcap_errors//:errors",
"@com_github_tikv_client_go_v2//tikv",
"@org_uber_go_zap//:zap",
],
)
Expand All @@ -32,20 +38,30 @@ go_test(
"base_test.go",
"infoschema_test.go",
"main_test.go",
"split_test.go",
"table_test.go",
"ttlstatus_test.go",
],
embed = [":cache"],
flaky = True,
deps = [
"//infoschema",
"//kv",
"//parser",
"//parser/model",
"//server",
"//store/helper",
"//tablecodec",
"//testkit",
"//testkit/testsetup",
"//ttl/session",
"//types",
"//util/codec",
"@com_github_pingcap_kvproto//pkg/metapb",
"@com_github_stretchr_testify//assert",
"@com_github_stretchr_testify//require",
"@com_github_tikv_client_go_v2//tikv",
"@com_github_tikv_pd_client//:client",
"@org_uber_go_goleak//:goleak",
],
)
Loading

0 comments on commit dcf88c8

Please sign in to comment.