Skip to content

Improve troubleshooting for search context closed/missing scenarios #112680

Open
@ppf2

Description

@ppf2

Description

For debugging and historical troubleshooting of issues related to search contexts being closed, it can be helpful for our debug or trace level logging to include the following when we return the No search context found error:

  • The type of query the search context is associated to (e.g. scroll, pit, other).
  • The reason for the closing (e.g. error, timeout, other).
  • The search context ID so users can correlate to the No search context found for id exception
  • For long running queries, a reference to the task ID can also be useful.

This can be a useful tool users can enable temporarily for a period of time to capture what happened to a specific context ID. Thx!

Metadata

Metadata

Assignees

No one assigned

    Labels

    :Search Foundations/SearchCatch all for Search Foundations>enhancementSupportabilityImprove our (devs, SREs, support eng, users) ability to troubleshoot/self-service product better.Team:Search FoundationsMeta label for the Search Foundations team in Elasticsearch

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions