action #32260
closedaction #7086: add some worker version check
Improve worker version checking.
100%
Description
Improvement of poo#7086.
Currently the worker version checking is being done when the worker sends worker_status messages.
This raises some problems:
1- It's slow. To address some scalability issues, every worker has a different time of polling the server. Sometimes take less time, sometimes takes more time.
This is only noticeable when we have dozens (or maybe hundreds) of workers
2- If the server has jobs to be ran in the queue, it will send immediately the job, and then later it will do the version verification. This makes the job in scheduled state until the verification is done (related with previous point #1)
The solution for this is to move the verification from the worker status message to the websocket connection.
Updated by dasantiago almost 7 years ago
- Status changed from In Progress to Resolved
- % Done changed from 90 to 100
Merged
Updated by coolo almost 7 years ago
- Target version changed from Current Sprint to Done