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

Allow aggs to disable offloading sequential collection #98276

Merged
merged 6 commits into from
Aug 8, 2023

Commits on Aug 8, 2023

  1. Allow aggs to disable offloading sequential collection

    In elastic#98204 we are introducing unconditional offloading of collection to a
    separate thread pool, even for requests of phases that don't enable
    search concurrency. It turns out that some aggs don't support offloading
    their collection to a separate thread, as their postCollect method is
    executed on the search thread which trips a lucene assertion around
    reusing data structures pulled from the search worker thread.
    
    With this commit we allow aggs to specify when they don't support
    offloading their sequential collection. Such aggs are a subset of the
    ones that already declare that they don't support concurrency entirely.
    
    Relates to elastic#96023
    javanna committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    5025113 View commit details
    Browse the repository at this point in the history
  2. iter

    javanna committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    06326ea View commit details
    Browse the repository at this point in the history
  3. iter

    javanna committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    5711c6e View commit details
    Browse the repository at this point in the history
  4. iter

    javanna committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    10085d5 View commit details
    Browse the repository at this point in the history
  5. adjust test

    javanna committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    907dd4e View commit details
    Browse the repository at this point in the history
  6. iter

    javanna committed Aug 8, 2023
    Configuration menu
    Copy the full SHA
    bf1bd9c View commit details
    Browse the repository at this point in the history