Skip to content

Default, recommended config issues a warning #83561

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

Closed
pauldraper opened this issue Feb 5, 2022 · 2 comments
Closed

Default, recommended config issues a warning #83561

pauldraper opened this issue Feb 5, 2022 · 2 comments
Labels
>bug needs:triage Requires assignment of a team area label

Comments

@pauldraper
Copy link

pauldraper commented Feb 5, 2022

Elasticsearch Version

7.10.2

Installed Plugins

No response

Java Version

bundled

OS Version

Ubuntu 20.04

Problem Description

I expect that Elasticsearch defaults don't produce warnings.

However, I get the following warning:

gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually

Weirdly, the docs recommend not enabling auto_import_dangling_indices (which is indeed the default).

And yet Elasticsearch itself issues a warning when it's not enabled.

So there seems to be some confusion around I can run Elasticsearch in a safe and recommended way.

Steps to Reproduce

Start elasticsearch.

Logs (if relevant)

{"type": "server", "timestamp": "2022-02-05T18:17:46,465Z", "level": "WARN", "component": "o.e.g.DanglingIndicesState", "cluster.name": "elasticsearch", "node.name": "rivet6", "message": "gateway.auto_import_dangling_indices is disabled, dangling indices will not be automatically detected or imported and must be managed manually" }
@pauldraper pauldraper added >bug needs:triage Requires assignment of a team area label labels Feb 5, 2022
@pauldraper pauldraper changed the title Default config produces warning Default, recommended config issues warning Feb 5, 2022
@pauldraper pauldraper changed the title Default, recommended config issues warning Default, recommended config issues a warning Feb 5, 2022
@DaveCTurner
Copy link
Contributor

This is the bug that #65309 addresses, you should upgrade to pick up the fix.

@pauldraper
Copy link
Author

Thanks!

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug needs:triage Requires assignment of a team area label
Projects
None yet
Development

No branches or pull requests

2 participants