Skip to content

Simplify deprecation issue levels#36326

Merged
AthenaEryma merged 7 commits intoelastic:masterfrom
AthenaEryma:depapi/remove-info
Dec 7, 2018
Merged

Simplify deprecation issue levels#36326
AthenaEryma merged 7 commits intoelastic:masterfrom
AthenaEryma:depapi/remove-info

Conversation

@AthenaEryma
Copy link
Copy Markdown
Contributor

This gets rid of the 'NONE' and 'INFO' severity levels for
deprecation issues.

'NONE' is unused and does not make much sense as a severity level.

'INFO' can be separated into two categories: Either 1) we can
definitively tell there will be a problem with the cluster/node/index
configuration that can be resolved prior to upgrade, in which case
the issue should be a WARNING, or 2) we can't, because any issues would
be at the application level, for which the user should review the
deprecation logs and/or response headers, and including the issue in the
list of deprecation info is just noise.

Includes changes from #36187

This commit gets rid of the 'NONE' and 'INFO' severity levels for
deprecation issues.

'NONE' is unused and does not make much sense as a severity level.
'INFO' can be separated into two categories: Either 1) we can
definitively tell there will be a problem with the cluster/node/index
configuration that can be resolved prior to upgrade, in which case
the issue should be a WARNING, or 2) we can't, because any issues would
be at the application level, for which the user should review the
deprecation logs and/or response headers.
@elasticmachine
Copy link
Copy Markdown
Collaborator

Pinging @elastic/es-core-features

@hub-cap
Copy link
Copy Markdown
Contributor

hub-cap commented Dec 7, 2018

just dropping a note about the HLRC API that still contains those 2 values. It has been merged.

@AthenaEryma AthenaEryma merged commit 85bba0c into elastic:master Dec 7, 2018
AthenaEryma added a commit that referenced this pull request Dec 11, 2018
This commit gets rid of the 'NONE' and 'INFO' severity levels for
deprecation issues.

'NONE' is unused and does not make much sense as a severity level.
'INFO' can be separated into two categories: Either 1) we can
definitively tell there will be a problem with the cluster/node/index
configuration that can be resolved prior to upgrade, in which case
the issue should be a WARNING, or 2) we can't, because any issues would
be at the application level, for which the user should review the
deprecation logs and/or response headers.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Projects

None yet

Development

Successfully merging this pull request may close these issues.

5 participants