action #32260

action #7086: add some worker version check

Improve worker version checking.

Added by dasantiago about 2 years ago. Updated almost 2 years ago.

Status:ResolvedStart date:26/02/2018
Priority:NormalDue date:
Assignee:dasantiago% Done:


Category:Feature requests
Target version:Done


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.


#1 Updated by szarate about 2 years ago

  • Target version set to Current Sprint

#2 Updated by dasantiago almost 2 years ago

  • Status changed from In Progress to Resolved
  • % Done changed from 90 to 100


#3 Updated by coolo almost 2 years ago

  • Target version changed from Current Sprint to Done

Also available in: Atom PDF