-
Notifications
You must be signed in to change notification settings - Fork 24.7k
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
System index reads in separate threadpool #60927
Merged
Merged
Commits on Aug 10, 2020
-
System index reads in separate threadpool
This commit introduces a new thread pool, `system_read`, which is intended for use by system indices for all read operations (get and search). The `system_read` pool is a fixed thread pool with a maximum number of threads equal to lesser of half of the available processors or 5. Given the combination of both get and read operations in this thread pool, the queue size has been set to 2000. The motivation for this change is to allow system read operations to be serviced in spite of the number of user searches. In order to avoid a significant performance hit due to pattern matching on all search requests, a new metadata flag is added to mark indices as system or non-system. Previously created system indices will have flag added to their metadata upon upgrade to a version with this capability. Additionally, this change also introduces a new class, `SystemIndices`, which encapsulates logic around system indices. Currently, the class provides a method to check if an index is a system index and a method to find a matching index descriptor given the name of an index. Relates elastic#50251 Relates elastic#37867 Backport of elastic#57936
Configuration menu - View commit details
-
Copy full SHA for b0b1200 - Browse repository at this point
Copy the full SHA b0b1200View commit details -
Configuration menu - View commit details
-
Copy full SHA for e9e5a29 - Browse repository at this point
Copy the full SHA e9e5a29View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0885cde - Browse repository at this point
Copy the full SHA 0885cdeView commit details -
Configuration menu - View commit details
-
Copy full SHA for 9d868e2 - Browse repository at this point
Copy the full SHA 9d868e2View commit details -
Configuration menu - View commit details
-
Copy full SHA for 46d69d7 - Browse repository at this point
Copy the full SHA 46d69d7View commit details -
Configuration menu - View commit details
-
Copy full SHA for d6a762c - Browse repository at this point
Copy the full SHA d6a762cView commit details -
Configuration menu - View commit details
-
Copy full SHA for 51d96e0 - Browse repository at this point
Copy the full SHA 51d96e0View commit details -
Configuration menu - View commit details
-
Copy full SHA for a98543a - Browse repository at this point
Copy the full SHA a98543aView commit details
Commits on Aug 11, 2020
-
Configuration menu - View commit details
-
Copy full SHA for b1b22f9 - Browse repository at this point
Copy the full SHA b1b22f9View commit details -
Configuration menu - View commit details
-
Copy full SHA for 0980367 - Browse repository at this point
Copy the full SHA 0980367View commit details -
Configuration menu - View commit details
-
Copy full SHA for d05588a - Browse repository at this point
Copy the full SHA d05588aView commit details -
Configuration menu - View commit details
-
Copy full SHA for 524d083 - Browse repository at this point
Copy the full SHA 524d083View commit details -
Configuration menu - View commit details
-
Copy full SHA for 22d1fac - Browse repository at this point
Copy the full SHA 22d1facView commit details -
Configuration menu - View commit details
-
Copy full SHA for c585a37 - Browse repository at this point
Copy the full SHA c585a37View commit details
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.