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

Scroll api reduce phase fails if shard failures occur #6022

Conversation

martijnvg
Copy link
Member

Only occurs in 1.x and master branches and not in any released versions.

…total number of shard level requests and not the total number of requests that have a shard level result.

Make sure no null TopDocs entires are passed down to TopDocs#merge
Added dedicated scroll tests that tests scrolling on an index that has missing shards due to node failure.
Made sure that the sort fields in SimpleNestedTests exists by adding the fields in the mapping during index creation.
.setSource(jsonBuilder().startObject().field("field", i).endObject())
.get();
}
refresh();
Copy link
Contributor

Choose a reason for hiding this comment

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

can we use indexRandom?

@jpountz
Copy link
Contributor

jpountz commented May 2, 2014

Very nice catch!

@martijnvg
Copy link
Member Author

Updated the PR and addressed the feedback.

@jpountz
Copy link
Contributor

jpountz commented May 5, 2014

LGTM

@jpountz jpountz removed the review label May 5, 2014
@martijnvg martijnvg closed this in d5b95e3 May 8, 2014
martijnvg added a commit that referenced this pull request May 8, 2014
…urred:

* The shardTopDocs array should get created with the size equal to the total number of shard level requests and not the total number of requests that have a shard level result.
* Make sure no null TopDocs entires are passed down to TopDocs#merge
* Added dedicated scroll tests that tests scrolling on an index that has missing shards due to node failure.
* Made sure that the sort fields in SimpleNestedTests exists by adding the fields in the mapping during index creation.

Closes #6022
@martijnvg martijnvg deleted the bug/scroll_cannot_deal_with_shard_failures branch May 18, 2015 23:31
@clintongormley clintongormley added the :Search/Search Search-related issues that do not fall into other categories label Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
blocker >bug :Search/Search Search-related issues that do not fall into other categories v1.2.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants