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

fix: cache warmup solution non legacy charts #2

Conversation

dheeraj-jaiswal-lowes
Copy link

@dheeraj-jaiswal-lowes dheeraj-jaiswal-lowes commented Feb 6, 2023

SUMMARY

Issue: Cache-warmup API does not work as expected for all charts. Running cache-warmup for a slice ex: (vizType-Table) and exploring the same slice on browser gives different cache key.

Solution: /warm_up_cache/ API in current solution only applicable for legacy chart and when the same code executes for another type of chart such as Table chart and other non-legacy chart, it generates a different cache key not matching with the one we get while exploring the same slice on browser. Fix given here will check the viz type of the chart and handle it in the required way to update the right cache-key.

BEFORE/AFTER SCREENSHOTS OR ANIMATED GIF

TESTING INSTRUCTIONS

ADDITIONAL INFORMATION

  • Has associated issue:
  • Required feature flags:
  • Changes UI
  • Includes DB Migration (follow approval process in SIP-59)
    • Migration is atomic, supports rollback & is backwards-compatible
    • Confirm DB migration upgrade and downgrade tested
    • Runtime estimates and downtime expectations provided
  • Introduces new feature or API
  • Removes existing feature or API

michael-s-molina and others added 30 commits January 23, 2023 10:25
… 5.49.0 in /superset-websocket (apache#22838)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Josh Soref <[email protected]>
Co-authored-by: Josh Soref <[email protected]>
…#22858)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Lily Kuang and others added 24 commits January 31, 2023 10:55
…cket (apache#22902)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
…et-frontend (apache#22958)

Signed-off-by: dependabot[bot] <[email protected]>
Co-authored-by: dependabot[bot] <49699333+dependabot[bot]@users.noreply.github.com>
Signed-off-by: Josh Soref <[email protected]>
Signed-off-by: Josh Soref <[email protected]>
Co-authored-by: Josh Soref <[email protected]>
Co-authored-by: AAfghahi <[email protected]>
Co-authored-by: Lyndsi Kay Williams <[email protected]>
Co-authored-by: lyndsiWilliams <[email protected]>
@dheeraj-jaiswal-lowes dheeraj-jaiswal-lowes changed the title fix: cache warmup solution non legacy charts fix: cache warmup solution non legacy charts #15497 Feb 6, 2023
@dheeraj-jaiswal-lowes dheeraj-jaiswal-lowes changed the title fix: cache warmup solution non legacy charts #15497 fix: cache warmup solution non legacy charts Feb 6, 2023
@nandi-abhi
Copy link

@dheeraj-jaiswal-lowes I believe, lot of changes from the public repo seem to be in the PR, I have synced the repo, please make sure the PR has the change associated with the specific feature/enhancement only

@dheeraj-jaiswal-lowes
Copy link
Author

Will raise a separate one.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.