Skip to content

Commit

Permalink
ddl_notifier: implement serialization and deserialization for `Schema…
Browse files Browse the repository at this point in the history
…ChangeEvent` (#56089)

ref #55722
  • Loading branch information
fzzf678 authored Sep 18, 2024
1 parent 8313bbc commit 7ce6ec3
Show file tree
Hide file tree
Showing 5 changed files with 184 additions and 120 deletions.
5 changes: 3 additions & 2 deletions pkg/ddl/notifier/BUILD.bazel
Original file line number Diff line number Diff line change
Expand Up @@ -3,8 +3,8 @@ load("@io_bazel_rules_go//go:def.bzl", "go_library", "go_test")
go_library(
name = "notifier",
srcs = [
"events.go",
"publish.go",
"schema_change_notifier.go",
"store.go",
],
importpath = "github.com/pingcap/tidb/pkg/ddl/notifier",
Expand All @@ -13,15 +13,16 @@ go_library(
"//pkg/ddl/session",
"//pkg/meta/model",
"//pkg/util/intest",
"@com_github_pingcap_errors//:errors",
],
)

go_test(
name = "notifier_test",
timeout = "short",
srcs = [
"events_test.go",
"publish_testkit_test.go",
"schema_change_notifier_test.go",
],
embed = [":notifier"],
flaky = True,
Expand Down
Loading

0 comments on commit 7ce6ec3

Please sign in to comment.