-
Notifications
You must be signed in to change notification settings - Fork 14.1k
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
warm up cache does not work #18933
Comments
Hey @kachely this is a start but a bit more context would be useful to the community:
|
Hi @kachely, I can't reproduce on the latest master. warm-up cache works well in my local. warm-cache.mov |
Hi @zhaoyongjie , I believe we do not use "warm_up_cache" api in the latest master in celery. |
Hi @srinify , please see my responses below.
|
Hi @kachely, Could you point out which URL do you use for cache "warm up"? |
I use the url in get_rul function. It returns /superset/explore/?form_data={}. |
This issue has been automatically marked as stale because it has not had recent activity. It will be closed if no further activity occurs. Thank you for your contributions. For admin, please label this issue |
still the issue not solved |
#.pinned #bug #pinned |
@zhaoyongjie in your video, it appears you are sharing the same web session as the authenticated user. The problem is that the celery worker is an unauthorized agent, and gets a |
A workaround would be nice to share, we're having performance issues, a functional warm up could help |
Any updates on this. |
I got a workaround working locally on my fork, f57fab7, discussed here #9597 (comment) But I haven't successfully built an image yet, as I am running into unrelated issues with node building the frontend |
@ajwhite I sent a PR to address this issue, which is working in my environment. |
Anyone can push this PR ? |
A clear and concise description of what the bug is.
How to reproduce the bug
Expected results
request will be send by this order: /explore/xxx -> /explore_json/xxx or /api/v1/data/xxx
Actual results
request will be sent by this order: /explore/xxx -> break.
Screenshots
I actually setup a cookie in the request to login in with a warmup user. If I do not add this cookie, it will be redirect to login page.
here is the code I used in warm_up
Environment
(please complete the following information):
superset version
python --version
node -v
Checklist
Make sure to follow these steps before submitting your issue - thank you!
Additional context
Add any other context about the problem here.
The text was updated successfully, but these errors were encountered: