Skip to content

Commit

Permalink
kv: reduce kv.rangefeed.concurrent_catchup_iterators to 16 by default
Browse files Browse the repository at this point in the history
Many of our largest users have found the need to tune this parameter
to lower values (often single-digit values). Here, I've lowered it to
a new, unprincipled value of 16.

Note that this limit is _per store_, so the actual number of
concurrent catchup scans allowed on a given server can be some
multiple of the value here.

Release note: The default value of
`kv.rangefeed_concurrent_catchup_iterators` has been lowered to 16 to
help avoid overload during CHANGEFEED restarts.
  • Loading branch information
stevendanna committed Feb 2, 2022
1 parent a434c84 commit 4d26571
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion pkg/kv/kvserver/store.go
Original file line number Diff line number Diff line change
Expand Up @@ -152,7 +152,7 @@ var concurrentRangefeedItersLimit = settings.RegisterIntSetting(
settings.TenantWritable,
"kv.rangefeed.concurrent_catchup_iterators",
"number of rangefeeds catchup iterators a store will allow concurrently before queueing",
64,
16,
settings.PositiveInt,
)

Expand Down

0 comments on commit 4d26571

Please sign in to comment.