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

[ML] Route resolver fails to load _fields_for_wildcard #84537

Closed
walterra opened this issue Nov 30, 2020 · 0 comments · Fixed by #84605
Closed

[ML] Route resolver fails to load _fields_for_wildcard #84537

walterra opened this issue Nov 30, 2020 · 0 comments · Fixed by #84605
Assignees
Labels
bug Fixes for quality problems that affect the customer experience regression v7.10.1

Comments

@walterra
Copy link
Contributor

walterra commented Nov 30, 2020

Due to a change in how Kibana index patterns are initialized, loading certain pages that call the page's useResolver() with '' instead of undefined may fail to load because a call to _fields_for_wildcard fails to return for large clusters.

Investigation showed that until v7.9 in such a case a call to _fields_for_wildcard would not be triggered. The issue appears to happen on v7.10.0+.

The problem is that passing an empty string will end up for _fields_for_wildcard being called with ?pattern= which will try to return all field information for all indices.

The following pages are affected, they use useResolver('', ...):

  • Single Metric Viewer (/timeseriesexplorer)
  • Analytics Exploration (/data_frame_analytics/exploration)
  • Analytics Job List (/data_frame_analytics)
  • Analytics Models List (/data_frame_analytics/models)
  • File Data Visualizer (/filedatavisualizer)
@walterra walterra added bug Fixes for quality problems that affect the customer experience regression v7.10.1 labels Nov 30, 2020
@walterra walterra self-assigned this Nov 30, 2020
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 regression v7.10.1
Projects
None yet
Development

Successfully merging a pull request may close this issue.

1 participant