[Portable Dashboards] Remove Legacy Clientside Migrations #137200
Labels
Feature:Dashboard
Dashboard related features
impact:medium
Addressing this issue will have a medium level of impact on the quality/strength of our product.
loe:small
Small Level of Effort
Project:Portable Dashboard
Related to the Portable Dashboards initiative
Team:Presentation
Presentation Team for Dashboard, Input Controls, and Canvas
technical debt
Improvement of the software architecture and operational architecture
Overview
It seems like it's finally come time to remove the client side legacy migrations that Dashboard runs through every time a dashboard is loaded.
These migrations were introduced before the saved object migrations, and have stuck around to ensure that really old dashboard state that a user has bookmarked in their browser still works when it's opened, even if Kibana has been upgraded multiple times between when the bookmark was created, and when it was loaded.
In my research I've found that these migrations are only required for folks who:
Why should we remove them?
These migrations can slow down the dashboard loading process, and are currently run on top of the existing legacy migrations run by the saved object migration system.
What does the telemetry say
We've been collecting telemetry on this since November 2020 with a ui-counter DashboardPanelVersionInUrl. This telemetry shows that out of >400 000 dashboard URL loads over 2 years, only 5 were loaded from a version <7.3 into a version >8.0.
This means that the likely number of users affected by removing these migrations is 0.
The text was updated successfully, but these errors were encountered: