-
Notifications
You must be signed in to change notification settings - Fork 25k
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
Rename CONF_DIR to ES_PATH_CONF #26154
Comments
We've discussed it in Fix-It Friday and the change and the proposed name both make sense. |
Copying my comment from the PR:
|
A primary reason is to match the naming convention for the existing settings:
I'm not sure what you mean about "path" being confusing, "path" is a perfectly reasonable synonym for "directory", shortened to "dir".
I'm not sure what you're referring to here? Given the above, I feel strongly that |
I was referring to the |
That has not existed since 1.x, I don't think it should factor in here at all. |
The environment variable
CONF_DIR
was previously inconsistently used in our packaging to customize the location of Elasticsearch configuration files. The importance of this environment variable has increased starting in 6.0.0 as it's now used consistently to ensure Elasticsearch and all secondary scripts (e.g.,elasticsearch-keystore
) all use the same configuration. The nameCONF_DIR
is there for legacy reasons yet it's too generic. This issue proposes renamingCONF_DIR
toES_PATH_CONF
for 6.0.0. This would be a breaking change but it's a smaller break now than it would be in the future after this environment variable becomes baked-in through the ecosystem.The text was updated successfully, but these errors were encountered: