Thanks for sharing. You should fix the references to “celery” in your docker-compose. They aren’t hurting anything. But V10 doesn’t use celery (that was removed in V9).
The next question is whether you see any activity in your logs from the scheduled_worker. That should be running queries for you but isn’t.
Or maybe it is running queries, but because it has just one worker you don’t see it updating them all at once because it becomes backlogged?
worker-0
2021/10/28 15:22:01 [worker_healthcheck] WorkerHealthcheck: Worker rq:worker:8fa19270bf324a9f89f4a0a21d633b7f healthcheck: Is busy? False. Seen lately? False (337 seconds ago). Has nothing to do? True (0 jobs in watched queues). ==> Is healthy? True
2021/10/28 15:22:01 [worker_healthcheck] `RQ Worker Healthcheck` check succeeded for process worker-0
RESULT 2
OKREADY
2021/10/28 15:23:02 [worker_healthcheck] Received TICK_60 event from supervisor
2021/10/28 15:23:02 [worker_healthcheck] Performing `RQ Worker Healthcheck` check for process name worker-0
2021/10/28 15:23:02 [worker_healthcheck] WorkerHealthcheck: Worker rq:worker:8fa19270bf324a9f89f4a0a21d633b7f healthcheck: Is busy? False. Seen lately? False (398 seconds ago). Has nothing to do? True (0 jobs in watched queues). ==> Is healthy? True
2021/10/28 15:23:02 [worker_healthcheck] `RQ Worker Healthcheck` check succeeded for process worker-0
RESULT 2
OKREADY
I encountered an issue with query auto updates not getting scheduled as well. I followed the migration steps here, but it still didn’t work, and I couldn’t find any errors in the logs for the scheduler or the scheduled worker.
What I did to fix it was to remove the QUEUES: "scheduled_queries,schemas" line in the docker-compose.yml file. What I believe this did was set these queues to revert to the defaults defined here. This worked, but I’m still unsure if this is the right way to solve this problem.
@jesse could you provide some additional context/guidance here?
Thanks for letting me know. FYI, that’s not what the release upgrade instructions say to do. The release upgrade instructions only specify to remove these environment variables from the scheduler, not the scheduled_worker as well.
“1. Under services/scheduler/environment , omit QUEUES and WORKERS_COUNT (and omit environment altogether if it is empty).”