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

[TSVB] Remove field_stats calls from 5.6 for TSVB #14152

Merged
merged 2 commits into from Sep 26, 2017

Conversation

simianhacker
Copy link
Member

@simianhacker simianhacker commented Sep 25, 2017

This PR removes the calcualte_indices.js and changes the two files that used that function. I tried to keep the surface area of this change as small as possible which is why I decided to continue to return a Promise for both getRequestParams and getAnnotations. This is only getting merged with 5.6 and the error it fixes only appears when the user had Kibana 5.6.x installed with ES 6.0.

@simianhacker simianhacker added Feature:TSVB TSVB (Time Series Visual Builder) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) bug Fixes for quality problems that affect the customer experience review v5.6.2 v5.6.3 labels Sep 25, 2017
@epixa
Copy link
Contributor

epixa commented Sep 25, 2017

@simianhacker For courier requests in 5.6.0, we didn't remove field_stats entirely. Instead, we listened for the missing field_stats error and attempted the request again without field_stats if it was encountered. Since in the past, the lack of a field_stats preflight could take down clusters for some use cases, we just didn't want to risk accidentally doing that for folks unless they were definitely moving to 6.0. The PR was here #13670

@simianhacker
Copy link
Member Author

@epixa I changed the approach to essentially do the same.

@simianhacker simianhacker merged commit a179e7b into elastic:5.6 Sep 26, 2017
@simianhacker simianhacker deleted the fix-5.6-tsvb branch September 26, 2017 15:53
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
bug Fixes for quality problems that affect the customer experience Feature:TSVB TSVB (Time Series Visual Builder) Feature:Visualizations Generic visualization features (in case no more specific feature label is available) review v5.6.3
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants