Skip to content

Commit

Permalink
cdc: fix typo
Browse files Browse the repository at this point in the history
Signed-off-by: Neil Shen <overvenus@gmail.com>
  • Loading branch information
overvenus committed May 11, 2022
1 parent d2b333f commit 695c182
Showing 1 changed file with 3 additions and 1 deletion.
4 changes: 3 additions & 1 deletion cdc/scheduler/scheduler.go
Original file line number Diff line number Diff line change
Expand Up @@ -33,7 +33,7 @@ const (
type Scheduler interface {
// Tick is called periodically from the owner, and returns
// updated global watermarks.
// It not is thread-safe.
// It is not thread-safe.
Tick(
ctx context.Context,
// Latest global checkpoint of the changefeed
Expand All @@ -52,5 +52,7 @@ type Scheduler interface {
// It is thread-safe
Rebalance()

// Close scheduler and release it's resource.
// It is not thread-safe.
Close(ctx context.Context)
}

0 comments on commit 695c182

Please sign in to comment.