Skip to content
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

[7.x] Prevent NullPointerException in TransportRolloverAction (#43353) #43397

Merged
merged 1 commit into from
Jun 19, 2019

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Jun 19, 2019

Backports the following commits to 7.x:

It's possible for the passed in `IndexMetaData` to be null (for
instance, cluster state passed in does not have the index in its
metadata) which in turn can cause a `NullPointerException` when
evaluating the conditions for an index. This commit adds null protection
and unit tests for this case.

Resolves elastic#43296
@dakrone dakrone added backport :Data Management/Indices APIs APIs to create and manage indices and templates v7.3.0 labels Jun 19, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features

@dakrone dakrone merged commit 6b084e5 into elastic:7.x Jun 19, 2019
@dakrone dakrone deleted the backport/7.x/pr-43353 branch June 19, 2019 22:07
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
backport :Data Management/Indices APIs APIs to create and manage indices and templates v7.3.0
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants