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

Guard against null settings in CCRIndexLifecycleIT #51008

Merged
merged 1 commit into from
Jan 15, 2020

Conversation

dakrone
Copy link
Member

@dakrone dakrone commented Jan 14, 2020

It's possible that the index could return no settings and thus throw a
NullPointerException.

I wasn't able to reproduce the original issue, but this should guard
against in the future.

Resolves #50646

It's possible that the index could return no settings and thus throw a
`NullPointerException`.

I wasn't able to reproduce the original issue, but this should guard
against in the future.

Resolves elastic#50646
@dakrone dakrone added >non-issue >test Issues or PRs that are addressing/adding tests :Data Management/ILM+SLM Index and Snapshot lifecycle management v8.0.0 v7.6.0 labels Jan 14, 2020
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-core-features (:Core/Features/ILM+SLM)

Copy link
Contributor

@andreidan andreidan left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM, thanks @dakrone

@polyfractal polyfractal added v7.7.0 and removed v7.6.0 labels Jan 15, 2020
@dakrone dakrone merged commit 082d265 into elastic:master Jan 15, 2020
@dakrone dakrone deleted the fix-50646 branch January 15, 2020 16:45
dakrone added a commit to dakrone/elasticsearch that referenced this pull request Jan 15, 2020
It's possible that the index could return no settings and thus throw a
`NullPointerException`.

I wasn't able to reproduce the original issue, but this should guard
against in the future.

Resolves elastic#50646
dakrone added a commit that referenced this pull request Jan 15, 2020
It's possible that the index could return no settings and thus throw a
`NullPointerException`.

I wasn't able to reproduce the original issue, but this should guard
against in the future.

Resolves #50646

Co-authored-by: Elastic Machine <elasticmachine@users.noreply.github.com>
SivagurunathanV pushed a commit to SivagurunathanV/elasticsearch that referenced this pull request Jan 23, 2020
It's possible that the index could return no settings and thus throw a
`NullPointerException`.

I wasn't able to reproduce the original issue, but this should guard
against in the future.

Resolves elastic#50646
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
:Data Management/ILM+SLM Index and Snapshot lifecycle management >non-issue >test Issues or PRs that are addressing/adding tests v7.7.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

[CI] CCRIndexLifecycleI#testAliasReplicatedOnShrink failure
5 participants