You are viewing a plain text version of this content. The canonical link for it is here.
Posted to notifications@superset.apache.org by GitBox <gi...@apache.org> on 2022/02/24 15:55:05 UTC

[GitHub] [superset] kachely opened a new issue #18933: warm up cache does not work

kachely opened a new issue #18933:
URL: https://github.com/apache/superset/issues/18933


   A clear and concise description of what the bug is.
   
   #### How to reproduce the bug
   
   1. Start celery
   2. Start beat
   3. Start flask
   4. There is a request from cache_warmup, but data is not be cached.
   
   ### 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.
   ![image](https://user-images.githubusercontent.com/20835886/155558889-a2422645-c55c-4dbb-a435-a6f33de1a812.png)
   here is the code I used in warm_up
   
   
   
   ### Environment
   
   (please complete the following information):
   
   - browser type and version:
   - superset version: `superset version`
   - python version: `python --version`
   - node.js version: `node -v`
   - any feature flags active:
   
   ### Checklist
   
   Make sure to follow these steps before submitting your issue - thank you!
   
   - [Y ] I have checked the superset logs for python stacktraces and included it here as text if there are any.
   - [ ] I have reproduced the issue with at least the latest released version of superset.
   - [Y ] I have checked the issue tracker for the same issue and I haven't found one similar.
   
   ### Additional context
   
   Add any other context about the problem here.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] kachely commented on issue #18933: warm up cache does not work

Posted by GitBox <gi...@apache.org>.
kachely commented on issue #18933:
URL: https://github.com/apache/superset/issues/18933#issuecomment-1055400905


   
   Hi @srinify , please see my responses below.
   > * What version of Superset are you using and how are you deploying it?
   We do not use the latest version. But we have merged the code of latest master on celery part.
   We start celery instance to call the refresh api.
   > * What errors / screenshots / etc can you provide and share?
   /explore api in celery does not work for us.  But /warm_up_cache does not support "pie".
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] srinify commented on issue #18933: warm up cache does not work

Posted by GitBox <gi...@apache.org>.
srinify commented on issue #18933:
URL: https://github.com/apache/superset/issues/18933#issuecomment-1050036088


   Hey @kachely this is a start but a bit more context would be useful to the community:
   
   - What version of Superset are you using and how are you deploying it?
   - What errors / screenshots / etc can you provide and share?


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] kachely edited a comment on issue #18933: warm up cache does not work

Posted by GitBox <gi...@apache.org>.
kachely edited a comment on issue #18933:
URL: https://github.com/apache/superset/issues/18933#issuecomment-1055397550


   Hi @zhaoyongjie , I believe we do not use "warm_up_cache" api in the latest master in celery. 
   We use explore api to refresh 
    ![image](https://user-images.githubusercontent.com/20835886/156169562-a8f04857-f0fb-4539-b0a6-de4c57931e6a.png)
   Please correct me if I am wrong.
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] zhaoyongjie commented on issue #18933: warm up cache does not work

Posted by GitBox <gi...@apache.org>.
zhaoyongjie commented on issue #18933:
URL: https://github.com/apache/superset/issues/18933#issuecomment-1055527889


   > Hi @zhaoyongjie , I believe we do not use "warm_up_cache" api in the latest master in celery. We use explore api to refresh ![image](https://user-images.githubusercontent.com/20835886/156169562-a8f04857-f0fb-4539-b0a6-de4c57931e6a.png) Please correct me if I am wrong.
   
   Hi @kachely, Could you point out which URL do you use for cache "warm up"? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] zhaoyongjie commented on issue #18933: warm up cache does not work

Posted by GitBox <gi...@apache.org>.
zhaoyongjie commented on issue #18933:
URL: https://github.com/apache/superset/issues/18933#issuecomment-1050586564


   Hi @kachely, I can't reproduce on the latest master. warm-up cache works well in my local.
   
   
   
   https://user-images.githubusercontent.com/2016594/155670690-a51d8798-5aba-4c50-94c5-f21f696ea1f9.mov
   
   
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] kachely commented on issue #18933: warm up cache does not work

Posted by GitBox <gi...@apache.org>.
kachely commented on issue #18933:
URL: https://github.com/apache/superset/issues/18933#issuecomment-1056679101


   > 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 is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] zhaoyongjie edited a comment on issue #18933: warm up cache does not work

Posted by GitBox <gi...@apache.org>.
zhaoyongjie edited a comment on issue #18933:
URL: https://github.com/apache/superset/issues/18933#issuecomment-1055527889


   Hi @kachely, Could you point out which URL do you use for cache "warm up"? 


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org


[GitHub] [superset] kachely commented on issue #18933: warm up cache does not work

Posted by GitBox <gi...@apache.org>.
kachely commented on issue #18933:
URL: https://github.com/apache/superset/issues/18933#issuecomment-1055397550


   Hi @zhaoyongjie , I believe we do not use "warm_up_cache" api in the latest master in celery. 
   We use explore api to refresh 
    ![image](https://user-images.githubusercontent.com/20835886/156169562-a8f04857-f0fb-4539-b0a6-de4c57931e6a.png)
   Please correct me if I am wrong.
   
   
   
   3. 
   ![image](https://user-images.githubusercontent.com/20835886/156169547-d89e1588-06e2-40cc-87c2-13fa3dfd1de0.png)
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org



---------------------------------------------------------------------
To unsubscribe, e-mail: notifications-unsubscribe@superset.apache.org
For additional commands, e-mail: notifications-help@superset.apache.org