Skip to content

Increase default scroll time per batch from 1m to 10m#5704

Merged
graytaylor0 merged 1 commit intoopensearch-project:mainfrom
graytaylor0:ScrollFix
May 21, 2025
Merged

Increase default scroll time per batch from 1m to 10m#5704
graytaylor0 merged 1 commit intoopensearch-project:mainfrom
graytaylor0:ScrollFix

Conversation

@graytaylor0
Copy link
Copy Markdown
Member

@graytaylor0 graytaylor0 commented May 20, 2025

Description

The default scroll time of 1 minute is too low, and can cause the scroll to expire if it takes longer than a minute to write a batch to the buffer (which can happen in full buffer or circuit breaker situations). To handle this, the default is being increased to 10 minutes.

Issues Resolved

Resolves #5679

Check List

  • New functionality includes testing.
  • New functionality has a documentation issue. Please link to it in this PR.
    • New functionality has javadoc added
  • Commits are signed with a real name per the DCO

By submitting this pull request, I confirm that my contribution is made under the terms of the Apache 2.0 license.
For more information on following Developer Certificate of Origin and signing off your commits, please check here.

Signed-off-by: Taylor Gray <tylgry@amazon.com>
@graytaylor0 graytaylor0 merged commit 6ef5ea4 into opensearch-project:main May 21, 2025
67 of 68 checks passed
alparish pushed a commit to alparish/data-prepper that referenced this pull request May 22, 2025
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.

Make opensearch source scroll timeout configurable and increase default value

3 participants