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

Fix NPE on Stale Index in IndicesService #38891

Merged
merged 3 commits into from
Feb 15, 2019

Conversation

original-brownbear
Copy link
Member

@original-brownbear original-brownbear commented Feb 14, 2019

* We should treat a `null` return for the metadata as equal to an error and break out
  * Added the check at this level even though it required nested `throw`, because adding it further downstream would impact other functionality
* Closes elastic#38845
@original-brownbear original-brownbear added >bug :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. v8.0.0 v7.2.0 labels Feb 14, 2019
@elasticmachine
Copy link
Collaborator

Pinging @elastic/es-distributed

@talevy
Copy link
Contributor

talevy commented Feb 14, 2019

I see the original issue failing in 7.0, so I added that version label to this PR

@original-brownbear original-brownbear merged commit d10fa1c into elastic:master Feb 15, 2019
jasontedor added a commit to jasontedor/elasticsearch that referenced this pull request Feb 15, 2019
* elastic/master:
  Avoid double term construction in DfsPhase (elastic#38716)
  Fix typo in DateRange docs (yyy → yyyy) (elastic#38883)
  Introduced class reuses follow parameter code between ShardFollowTasks (elastic#38910)
  Ensure random timestamps are within search boundary (elastic#38753)
  [CI] Muting  method testFollowIndex in IndexFollowingIT
  Update Lucene snapshot repo for 7.0.0-beta1 (elastic#38946)
  SQL: Doc on syntax (identifiers in particular) (elastic#38662)
  Upgrade to Gradle 5.2.1 (elastic#38880)
  Tie break search shard iterator comparisons on cluster alias (elastic#38853)
  Also mmap cfs files for hybridfs (elastic#38940)
  Build: Fix issue with test status logging (elastic#38799)
  Adapt FullClusterRestartIT on master (elastic#38856)
  Fix testAutoFollowing test to use createLeaderIndex() helper method.
  Migrate muted auto follow rolling upgrade test and unmute this test (elastic#38900)
  ShardBulkAction ignore primary response on primary (elastic#38901)
  Recover peers from translog, ignoring soft deletes (elastic#38904)
  Fix NPE on Stale Index in IndicesService (elastic#38891)
  Smarter CCR concurrent file chunk fetching (elastic#38841)
  Fix intermittent failure in ApiKeyIntegTests (elastic#38627)
  re-enable SmokeTestWatcherWithSecurityIT (elastic#38814)
jkakavas pushed a commit to jkakavas/elasticsearch that referenced this pull request Feb 20, 2019
jkakavas pushed a commit to jkakavas/elasticsearch that referenced this pull request Feb 20, 2019
jkakavas added a commit that referenced this pull request Feb 20, 2019
jkakavas added a commit that referenced this pull request Feb 20, 2019
@ywelsch
Copy link
Contributor

ywelsch commented Apr 5, 2019

@original-brownbear after seeing more reports of this, I think we should backport this one to 6.7

@original-brownbear
Copy link
Member Author

@ywelsch sounds good, will back port shortly :)

original-brownbear added a commit to original-brownbear/elasticsearch that referenced this pull request Apr 9, 2019
cbuescher pushed a commit to cbuescher/elasticsearch that referenced this pull request Jul 31, 2019
The issue mentioned (elastic#38845) seems to have been closed with elastic#38891 so the test
can be re-activated.
cbuescher pushed a commit that referenced this pull request Jul 31, 2019
The issue mentioned (#38845) seems to have been closed with #38891 so the test
can be re-activated.
cbuescher pushed a commit that referenced this pull request Jul 31, 2019
The issue mentioned (#38845) seems to have been closed with #38891 so the test
can be re-activated.
cbuescher pushed a commit that referenced this pull request Jul 31, 2019
The issue mentioned (#38845) seems to have been closed with #38891 so the test
can be re-activated.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Distributed/Distributed A catch all label for anything in the Distributed Area. If you aren't sure, use this one. v6.7.2 v7.0.0-rc2 v7.2.0 v8.0.0-alpha1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

DedicatedClusterSnapshotRestoreIT#testRestoreShrinkIndex fails
5 participants