solr:worker:run can run simultaneously

Description

Background

The solr:worker:run processes the queue for some tasks. The process does not use a lock. When used in a cron every minute sometimes the process takes longer than 1 minute and a second process is started. This can even take down a server with too many simultaneously run processes.

Requirements

  • Add a lock to the solr:worker:run process so there can be no more than one unique instance (as in solr:indexer:run)

  • On error don't throw an error (after all another worker is running)

Technical tasks

None

Deployment actions

None

Activity

Show:
API
January 25, 2017, 7:58 PM

.Uitvoer is akkoord gegeven door Integrated Marijn (in opdracht ingevoerd door Marijn Otte).

API
January 31, 2017, 10:33 AM

.Notificatie oplevering gestuurd naar Integrated Marijn (marijn@e-active.nl)

Assignee

Unassigned

External issue ID

None

Client

Integrated Marijn

Min. hours

None

Dev hour estimate

None

Fix versions

Configure