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

Report shard failures in the field_capabilities response #11450

Merged
merged 1 commit into from
Apr 28, 2017

Conversation

Bargs
Copy link
Contributor

@Bargs Bargs commented Apr 26, 2017

Fixes #11379

Summary: The Kibana field_capabilities API will now include any shard failures in its response so that the user is notified when an error has occurred while creating an index pattern or refreshing a pattern's fields.

screen shot 2017-04-26 at 1 09 30 pm

I wasn't totally sure how to how to submit this PR since the error isn't reproducible in master, since you can't migrate an index directly from 2.x -> 6.x. You could theoretically get a shard failure for other reasons though, so we do want this fix in master. I've submitted the PR against 5.x for ease of testing but I'll merge into master first once it's approved.

@tsullivan
Copy link
Member

++ for working on this in 5.x and up-porting to master

@tsullivan
Copy link
Member

The code looks good to me. Need to set up the test case and run it.

Thanks for doing this!

Copy link
Member

@tsullivan tsullivan left a comment

Choose a reason for hiding this comment

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

LGTM

@Bargs Bargs changed the base branch from 5.x to master April 28, 2017 18:25
@Bargs Bargs merged commit 5db50de into elastic:master Apr 28, 2017
Bargs added a commit to Bargs/kibana that referenced this pull request Apr 28, 2017
Bargs added a commit to Bargs/kibana that referenced this pull request Apr 28, 2017
@Bargs Bargs added v5.4.1 and removed v5.4.0 labels Apr 28, 2017
Bargs added a commit to Bargs/kibana that referenced this pull request May 1, 2017
Bargs added a commit to Bargs/kibana that referenced this pull request May 1, 2017
Bargs added a commit to Bargs/kibana that referenced this pull request May 1, 2017
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Projects
None yet
Development

Successfully merging this pull request may close these issues.

field_capabilites handler swallows an upgrade-related exception from ES
4 participants