forked from pingcap/tidb
-
Notifications
You must be signed in to change notification settings - Fork 2
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
pitr: add ingest recorder to repair indexes (pingcap#41670) (pingcap#…
…46418) ref pingcap#38045, close pingcap#41668
- Loading branch information
1 parent
cbfa816
commit a1af97e
Showing
14 changed files
with
788 additions
and
37 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,24 @@ | ||
load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test") | ||
|
||
go_library( | ||
name = "ingestrec", | ||
srcs = ["ingest_recorder.go"], | ||
importpath = "github.com/pingcap/tidb/br/pkg/restore/ingestrec", | ||
visibility = ["//visibility:public"], | ||
deps = [ | ||
"//parser/model", | ||
"//types", | ||
"@com_github_pingcap_errors//:errors", | ||
], | ||
) | ||
|
||
go_test( | ||
name = "ingestrec_test", | ||
srcs = ["ingest_recorder_test.go"], | ||
deps = [ | ||
":ingestrec", | ||
"//parser/model", | ||
"@com_github_pkg_errors//:errors", | ||
"@com_github_stretchr_testify//require", | ||
], | ||
) |
Oops, something went wrong.