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

Prevent date_histogram from OOMing #72081

Merged
merged 5 commits into from
Apr 27, 2021

Commits on Apr 22, 2021

  1. Prevent date_histogram from OOMing

    This prevents the `date_histogram` from running out of memory allocating
    empty buckets when you set the interval to something tiny like `seconds`
    and aggregate over a very wide date range. Without this change we'd
    allocate memory very quickly and throw and out of memory error, taking
    down the node. With it we instead throw the standard "too many buckets"
    error.
    
    Relates to elastic#71758
    nik9000 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    65d4b14 View commit details
    Browse the repository at this point in the history
  2. Oh checkstyle

    nik9000 committed Apr 22, 2021
    Configuration menu
    Copy the full SHA
    72991e1 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    d35d753 View commit details
    Browse the repository at this point in the history

Commits on Apr 27, 2021

  1. Configuration menu
    Copy the full SHA
    d7c7635 View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    63b610d View commit details
    Browse the repository at this point in the history