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

Make sure get field mapping request is executed on node hosting the index #5225

Closed
wants to merge 5 commits into from

Conversation

martijnvg
Copy link
Member

PR for #5177

bleskes and others added 5 commits February 21, 2014 17:07
… relevant indices.

This is due to the fact that have to have mappers in order to return the response.

Closes elastic#5177
…ustomOperationAction as base class, with the goal to reuse common logic (like: retry on failures, shard picking, connecting to nodes)
@@ -62,6 +126,14 @@ public ActionRequestValidationException validate() {
@Override
public void writeTo(StreamOutput out) throws IOException {
super.writeTo(out);
if (out.getVersion().onOrBefore(Version.V_1_0_0)) {
Copy link
Contributor

Choose a reason for hiding this comment

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

I think we should always write / read a default and remove the line entirely in master. So master doesn't know about this at all and 0.90 / 1.x / 1.0 will just write / read dummy values and ignore the actual value.

@s1monw
Copy link
Contributor

s1monw commented Feb 24, 2014

this PR LGTM I think you should push it and add some lines to the issue that this might barf during rolling upgrades.

@martijnvg
Copy link
Member Author

Merged in.

@martijnvg martijnvg closed this Feb 24, 2014
@javanna javanna assigned martijnvg and unassigned uboness Feb 24, 2014
@martijnvg martijnvg deleted the bugs/5177 branch May 18, 2015 23:32
@clintongormley clintongormley added >bug v1.0.1 v1.1.0 v2.0.0-beta1 v0.90.12 :Search/Mapping Index mappings, including merging and defining field types labels Jun 7, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
>bug :Search/Mapping Index mappings, including merging and defining field types v0.90.12 v1.0.1 v1.1.0 v2.0.0-beta1
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

5 participants