Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

changefeedccl: Make scan request size configurable. #79690

Merged
merged 1 commit into from
Apr 9, 2022

Conversation

miretskiy
Copy link
Contributor

Add a changefeed.backfill.scan_request_size setting to control
scan request size during backfill. The default is maintained
at 16MB. However, some latency sensitive environments may choose
to lower this setting, while increasing scan parallelism to
ensure that the latches are held for shorter periods of time.

Release Notes: Add a changefeed.backfill.scan_request_size setting
to control scan request size during backfill.

Relese Justification: Low danger stability and performance improvement.

@miretskiy miretskiy requested a review from ajwerner April 8, 2022 20:11
@miretskiy miretskiy requested a review from a team as a code owner April 8, 2022 20:11
@cockroach-teamcity
Copy link
Member

This change is Reviewable

Copy link
Contributor

@ajwerner ajwerner left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

:lgtm:

Reviewed 2 of 2 files at r1, all commit messages.
Reviewable status: :shipit: complete! 1 of 0 LGTMs obtained (waiting on @miretskiy)


pkg/ccl/changefeedccl/changefeedbase/settings.go, line 111 at r1 (raw file):

)

var ScanRequestSize = settings.RegisterIntSetting(

nit: comment this for the linter

Add a `changefeed.backfill.scan_request_size` setting to control
scan request size during backfill.  The default is maintained
at 16MB.  However, some latency sensitive environments may choose
to lower this setting, while increasing scan parallelism to
ensure that the latches are held for shorter periods of time.

Release Notes: Add a `changefeed.backfill.scan_request_size` setting
to control scan request size during backfill.

Relese Justification: Low danger stability and performance improvement.
@miretskiy
Copy link
Contributor Author

bors r+

@craig
Copy link
Contributor

craig bot commented Apr 9, 2022

Build succeeded:

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants