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

ThreadPool and ThreadContext are not closeable #43249

Merged
merged 8 commits into from
Nov 18, 2019

Commits on Jun 14, 2019

  1. ThreadPool and ThreadContext are not closeable

    This commit changes the ThreadContext to just use a regular ThreadLocal
    over the lucene CloseableThreadLocal. The CloseableThreadLocal solves
    issues with ThreadLocals that are no longer needed during runtime but
    in the case of the ThreadContext, we need it for the runtime of the
    node and it is typically not closed until the node closes, so we miss
    out on the benefits that this class provides.
    
    Additionally by removing the close logic, we simplify code in other
    places that deal with exceptions and tracking to see if it happens when
    the node is closing.
    
    Closes elastic#42577
    jaymode committed Jun 14, 2019
    Configuration menu
    Copy the full SHA
    310b9e4 View commit details
    Browse the repository at this point in the history

Commits on Sep 19, 2019

  1. Configuration menu
    Copy the full SHA
    bf58db3 View commit details
    Browse the repository at this point in the history

Commits on Nov 15, 2019

  1. Configuration menu
    Copy the full SHA
    003c3a5 View commit details
    Browse the repository at this point in the history
  2. fix compile

    jaymode committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    e69d7b2 View commit details
    Browse the repository at this point in the history
  3. Configuration menu
    Copy the full SHA
    49d026b View commit details
    Browse the repository at this point in the history
  4. add comment

    jaymode committed Nov 15, 2019
    Configuration menu
    Copy the full SHA
    00909ae View commit details
    Browse the repository at this point in the history

Commits on Nov 18, 2019

  1. iter

    jaymode committed Nov 18, 2019
    Configuration menu
    Copy the full SHA
    56fb6cb View commit details
    Browse the repository at this point in the history
  2. Configuration menu
    Copy the full SHA
    8483c9b View commit details
    Browse the repository at this point in the history