Skip to content

[BUG] PPL query failed with Trying to create too many Point In Time contexts. Must be less than or equal to: [300] #5220

Closed

Description

@Hailong-am

What is the bug?
Running PPL query like below, will get errors

PPL
source=cwl* |where @timestamp >'2011-03-07 00:12:38.000' and @timestamp <'2026-03-07 00:12:36.000' | where match(@message, 'error') | head 20000
Error

"{\n \"error\": {\n \"reason\": \"Error occurred in OpenSearch engine: Partial shards failure\",\n \"details\": \"Shard[1]: org.opensearch.core.concurrency.OpenSearchRejectedExecutionException: Trying to create too many Point In Time contexts. Must be less than or equal to: [300]. This limit can be set by changing the [search.max_open_pit_context] setting.\\nShard[1]

How can one reproduce the bug?
Steps to reproduce the behavior:

  1. Go to '...'
  2. Click on '....'
  3. Scroll down to '....'
  4. See error

What is the expected behavior?
A clear and concise description of what you expected to happen.

What is your host/environment?
OS 3.5

Do you have any screenshots?
If applicable, add screenshots to help explain your problem.

Image

Do you have any additional context?

  1. cwl* will match 55 indices
  2. calcite is not enabled
  3. after enabling calcite, it works

Activity

  1. added
    bug
    on Mar 10, 2026
  2. self-assigned this
    on Mar 10, 2026
  3. LantaoJin commented on Mar 10, 2026

    @LantaoJin
    Member

    Thanks for reporting this. I could reproduce it now. Checking.

  4. added
    PPL
    on Mar 10, 2026
  5. moved this from Not Started to In progress in PPL Trackeron Mar 10, 2026
  6. moved this from In progress to Done in PPL Trackeron Mar 11, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

Labels

PPLbug

Type

No type

Projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions