-
Notifications
You must be signed in to change notification settings - Fork 8.3k
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
[Discover] improve initial loading of data views #211208
base: main
Are you sure you want to change the base?
[Discover] improve initial loading of data views #211208
Conversation
/ci |
/ci |
…ta-view-list-loading
...c/context_awareness/profile_providers/observability/logs_data_source_profile/profile.test.ts
Outdated
Show resolved
Hide resolved
/ci |
/ci |
…ta-view-list-loading
/ci |
1 similar comment
/ci |
/ci |
@akowalska622 remember we've talked about this, mentioning chaos theory last week, when tests start to fail for very odd reasons.... the solution here was easy ... merge main, seems it has been fixed 🤔 |
Happens to me too often hehe! 🐲 |
/ci |
this.dataViewCache.set(indexPattern.id, Promise.resolve(indexPattern as DataView)); | ||
this.dataViewLazyCache.set(indexPattern.id, Promise.resolve(indexPattern as DataViewLazy)); |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
We don't need to load the list or clean the cache in Discover, if the cache is also updated when a data view is updated, e.g. change of name.
/ci |
Pinging @elastic/kibana-data-discovery (Team:DataDiscovery) |
@elasticmachine merge upstream |
💛 Build succeeded, but was flaky
Failed CI StepsMetrics [docs]Async chunks
Page load bundle
History
cc @kertal |
Summary
This PR optimizes the way Discover interacts with data views, enhancing performance and simplifying code management.
Key Improvements
This change aligns with our ongoing efforts to optimize Kibana's performance.
Checklist