Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
75851: kv: reduce kv.rangefeed.concurrent_catchup_iterators to 16 by default r=erikgrinaker a=stevendanna

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.

Co-authored-by: Steven Danna <[email protected]>
  • Loading branch information
craig[bot] and stevendanna committed Feb 7, 2022
2 parents f106d19 + 4d26571 commit e7540a1
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 e7540a1

Please sign in to comment.