Skip to content

Commit

Permalink
Merge pull request #123596 from cockroachdb/blathers/backport-release…
Browse files Browse the repository at this point in the history
…-23.2.5-rc-123370

release-23.2.5-rc: changefeedccl: disable drain watcher by default
  • Loading branch information
rharding6373 authored May 3, 2024
2 parents 2329856 + b4b15f8 commit 57ab107
Show file tree
Hide file tree
Showing 2 changed files with 2 additions and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/ccl/changefeedccl/changefeed_processors.go
Original file line number Diff line number Diff line change
Expand Up @@ -137,7 +137,7 @@ var aggregatorEmitsShutdownCheckpoint = settings.RegisterBoolSetting(
settings.ApplicationLevel,
"changefeed.shutdown_checkpoint.enabled",
"upon shutdown aggregator attempts to emit an up-to-date checkpoint",
true,
false,
)

type drainWatcher <-chan struct{}
Expand Down
1 change: 1 addition & 0 deletions pkg/ccl/changefeedccl/changefeed_test.go
Original file line number Diff line number Diff line change
Expand Up @@ -6207,6 +6207,7 @@ func TestChangefeedHandlesRollingRestart(t *testing.T) {

db := tc.ServerConn(1)
sqlDB := sqlutils.MakeSQLRunner(db)
serverutils.SetClusterSetting(t, tc, "changefeed.shutdown_checkpoint.enabled", true)
serverutils.SetClusterSetting(t, tc, "kv.rangefeed.enabled", true)
serverutils.SetClusterSetting(t, tc, "kv.closed_timestamp.target_duration", 10*time.Millisecond)
serverutils.SetClusterSetting(t, tc, "changefeed.experimental_poll_interval", 10*time.Millisecond)
Expand Down

0 comments on commit 57ab107

Please sign in to comment.