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
Remove hidden file leniency from plugin service #23982
Remove hidden file leniency from plugin service #23982
Conversation
This commit removes some leniency from the plugin service which skips hidden files in the plugins directory. We really want to ensure the integrity of the plugin folder, so hasta la vista leniency.
LGTM |
* master: Discovery EC2: Remove region setting (elastic#23991) AWS Plugins: Remove signer type setting (elastic#23984) Settings: Disallow secure setting to exist in normal settings (elastic#23976) Add registration of new discovery settings Settings: Migrate ec2 discovery sensitive settings to elasticsearch keystore (elastic#23961) Fix throttled reindex_from_remote (elastic#23953) Add comment why we check for null fetch results during merge
This commit adds a test that hidden files are not skipped in the plugins folder.
Thanks @rjernst. |
This commit removes one more instance of leniency from the plugin service which skips hidden files in the plugins directory. Relates #23982
I think it's important to point out that a reason that this leniency is so dangerous is because when we install a plugin we explode it into a hidden temporary directory in the plugins folder. If something blows up during plugin installation (which we try to clean up gracefully), this hidden folder will remain. Leniency allows this to go undetected, and that is bad for the user. This leniency is a bug. |
This commit removes some leniency from the plugin service which skips hidden files in the plugins directory. We really want to ensure the integrity of the plugin folder, so hasta la vista leniency. Relates #23982
This commit removes one more instance of leniency from the plugin service which skips hidden files in the plugins directory. Relates #23982
But this doesn't help users understand what to do - this has occurred for me after initial install. Instead of a solution I get a stack trace and some google treasure hunting until I stumble on this issue. Not a great first impression of ElasticSearch. |
This commit removes some leniency from the plugin service which skips hidden files in the plugins directory. We really want to ensure the integrity of the plugin folder, so hasta la vista leniency.
Relates #12465