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

Boost default scroll size to 1000 #1429

Merged
merged 1 commit into from
Feb 24, 2020

Conversation

jbaiera
Copy link
Member

@jbaiera jbaiera commented Feb 14, 2020

The default scroll size we use for reading data from Elasticsearch is currently set to 50. We feel like this number is much too low for a default value. This PR increases the default scroll size from 50 documents to 1000 documents, parallel to the default scroll size used in Elasticsearch's reindex api.

This change is marked as breaking since it changes a default configuration value which may affect existing low memory Hadoop deployments that do not set this property.

Copy link
Contributor

@danhermann danhermann left a comment

Choose a reason for hiding this comment

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

LGTM

@jbaiera jbaiera merged commit 9d0dd7f into elastic:master Feb 24, 2020
@jbaiera jbaiera deleted the fix-default-scroll-size branch February 24, 2020 21:05
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants