-
Notifications
You must be signed in to change notification settings - Fork 25.2k
Scripting: Per-context script cache, default off #52855
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
Merged
stu-elastic
merged 24 commits into
elastic:master
from
stu-elastic:fix/50152-painless-limit-per-context__02__context_specific
Mar 18, 2020
Merged
Changes from 1 commit
Commits
Show all changes
24 commits
Select commit
Hold shift + click to select a range
6cc359c
Scripting: Per-context script cache, default off
stu-elastic cc55177
Setting SCRIPT_*_DEPRECATED -> SCRIPT_GENERAL_*; contextPrefix -> CON…
stu-elastic 3e0cbb9
Settings: AffixSettings as validator dependencies
stu-elastic c516495
Use validators for TimeSettings, use atomic ref to change context set…
stu-elastic 5762bd5
Get affix match any
stu-elastic ab9ad44
WIP flag
stu-elastic 06f0bd8
Add script.context.cache_enabled setting, use single cache updater to…
stu-elastic bfa97f9
Allow "use-context" setting to flip back and forth between context an…
stu-elastic c7b6ef8
Merge branch 'master' into fix/50152-painless-limit-per-context__02__…
stu-elastic 5ce234a
Remove commented out tests, unnecessary settings updates, simpile cac…
stu-elastic 9c59b35
Add some cache object tests
stu-elastic f8ae8bb
Test per context nodes
stu-elastic 6310977
Merge branch 'master' of github.com:elastic/elasticsearch into fix/50…
stu-elastic 020cc27
Merge branch 'master' of github.com:elastic/elasticsearch into fix/50…
stu-elastic 893f187
ZERO -> SCRIPT_COMPILATION_RATE_ZERO
stu-elastic b9b626a
SCRIPT_MAX_COMPILATIONS_RATE += _SETTING, CacheUpdater:contextExists …
stu-elastic 6672e64
MAX_COMPILATION_RATE_FUNCTION check of USE_CONTEXT_RATE_KEY moved to …
stu-elastic bfb77ed
flip assert
stu-elastic 6deb708
script.context.$CONTEXT.{cache_max_size,cache_expire} fallback to gen…
stu-elastic 821cc54
use validator in group settings updater, validate all settings together
stu-elastic 76ec2ab
Update dependencies on context cache updaters
stu-elastic b588673
Add conflict, fallback, and validator tests
stu-elastic 63ffa65
CacheHolder settings tests
stu-elastic 557c856
Merge branch 'master' of github.com:elastic/elasticsearch into fix/50…
stu-elastic File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
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.
Uh oh!
There was an error while loading. Please reload this page.