Skip to content

Add warmup settings documentation for pull-based ingestion - #12187

Merged
kolchfa-aws merged 2 commits into
opensearch-project:mainfrom
kaustubhbutte17:add-warmup-settings-docs
Apr 2, 2026
Merged

Add warmup settings documentation for pull-based ingestion#12187
kolchfa-aws merged 2 commits into
opensearch-project:mainfrom
kaustubhbutte17:add-warmup-settings-docs

Conversation

@kaustubhbutte17

@kaustubhbutte17 kaustubhbutte17 commented Apr 1, 2026

Copy link
Copy Markdown
Contributor

Summary

  • Adds warmup.timeout and warmup.lag_threshold parameters to the ingestion source parameters table in pull-based ingestion docs.
  • These settings were introduced in OpenSearch PRs #20526 and #20936.

Description

The warmup phase prevents shards from serving queries until they have caught up with the streaming source after node restart or shard relocation. Two new dynamic settings control this behavior:

  • warmup.timeout: Maximum time to wait for lag to catch up. Default is -1 (disabled).
  • warmup.lag_threshold: Acceptable lag threshold for warmup completion. Default is 100.

Test plan

Tested locally
Screenshot 2026-04-01 at 5 35 01 PM

Signed-off-by: Kaustubh Butte kaustubhbutte17@gmail.com

@github-actions

github-actions Bot commented Apr 1, 2026

Copy link
Copy Markdown

Thank you for submitting your PR. The PR states are In progress (or Draft) -> Tech review -> Doc review -> Merged.

Before you submit your PR for doc review, make sure the content is technically accurate. If you need help finding a tech reviewer, tag a maintainer.

When you're ready for doc review, tag the assignee of this PR. The doc reviewer may push edits to the PR directly or leave comments and editorial suggestions for you to address (let us know in a comment if you have a preference).

@kolchfa-aws kolchfa-aws added Doc review PR: Doc review in progress release-notes PR: Include this PR in the automated release notes v3.6.0 labels Apr 1, 2026

@kolchfa-aws kolchfa-aws left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you, @kaustubhbutte17! Please answer the clarifying questions so we can proceed with the doc review.

| `internal_queue_size` | The size of the internal blocking queue for advanced tuning. Valid values are from 1 to 100,000, inclusive. Optional. Default is 100. |
| `all_active` | Whether to enable the all-active ingestion mode. Cannot be enabled for indexes that use segment replication mode. Default is `false`. See [Ingestion modes](#ingestion-modes). |
| `pointer_based_lag_update_interval` | The interval at which pointer-based lag is calculated. Accepts time units. Default is `10s`. Setting this value to `0` disables pointer-based lag calculation. |
| `warmup.timeout` | The maximum time to wait for the shard to catch up with the streaming source during the warmup phase after node restart or shard relocation. Shards will not serve queries until warmup completes or times out. A value of `-1` disables warmup. Accepts time units. Optional. Dynamic. Default is `-1` (disabled). |

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Are other parameters in this table (except for the newly added ones) static (not updateable)? To update the newly added parameters, users should use the Update Settings API?

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

Some entries in the table like error_strategy are dynamic, and some are static.

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Can you specify which ones are static so I can update all of them with static/dynamic?

@kaustubhbutte17 kaustubhbutte17 Apr 2, 2026

Copy link
Copy Markdown
Contributor Author

Choose a reason for hiding this comment

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

Here is the breakdown of static and dynamic properties

Dynamic:

  • error_strategy
  • poll.max_batch_size
  • poll.timeout
  • param
  • warmup.timeout
  • warmup.lag_threshold

Static:

  • type
  • pointer.init.reset
  • pointer.init.reset.value
  • num_processor_threads
  • internal_queue_size
  • all_active
  • pointer_based_lag_update_interval
  • mapper_type

cc @varunbharadwaj

Signed-off-by: Kaustubh Butte <kaustubhbutte17@gmail.com>
@kaustubhbutte17
kaustubhbutte17 force-pushed the add-warmup-settings-docs branch from f9787f6 to b0f6b09 Compare April 2, 2026 04:38
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

@kolchfa-aws kolchfa-aws left a comment

Copy link
Copy Markdown
Collaborator

Choose a reason for hiding this comment

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

Thank you, @kaustubhbutte17! PR updated based on your comments.

@kolchfa-aws
kolchfa-aws merged commit 810042e into opensearch-project:main Apr 2, 2026
6 checks passed
aryasoni98 pushed a commit to aryasoni98/documentation-website that referenced this pull request Jun 29, 2026
…h-project#12187)

* Add warmup settings documentation for pull-based ingestion

Signed-off-by: Kaustubh Butte <kaustubhbutte17@gmail.com>

* Doc review

Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>

---------

Signed-off-by: Kaustubh Butte <kaustubhbutte17@gmail.com>
Signed-off-by: Fanit Kolchina <kolchfa@amazon.com>
Co-authored-by: Fanit Kolchina <kolchfa@amazon.com>
Signed-off-by: Arya Soni <aryasoni98@gmail.com>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

Doc review PR: Doc review in progress release-notes PR: Include this PR in the automated release notes v3.6.0

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants