Task #9858

Improve job worker prefix uniqueness

Added by Mike Gale about 6 years ago. Updated almost 6 years ago.

Status:VerifiedStart date:05/17/2016
Priority:MediumDue date:
Assignee:-% Done:

0%

Category:Job scheduling
Target version:Release 2.3.0
Google Code Legacy ID: Tested version:
Sponsored:No Requires documentation:

Description

Currently we're using site title / base url to generate a unique prefix for atom worker gearman jobs. However, if you have 2 sites on the same server and replicate the dbs between them (as is often the case with a test site / production setup), atom-workers might poach jobs from the wrong atom instance and break.

We should add the directory path back to the prefix to ensure this doesn't happen.


Related issues

Related to Access to Memory (AtoM) - Bug #9648: Gearman job names are not compatible with the memcached b... Verified 04/01/2016

History

#1 Updated by Mike Gale about 6 years ago

  • Related to Bug #9648: Gearman job names are not compatible with the memcached backend added

#2 Updated by Jesús García Crespo about 6 years ago

  • Status changed from New to QA/Review
  • Assignee changed from Mike Gale to Dan Gillean

#3 Updated by Dan Gillean almost 6 years ago

  • Status changed from QA/Review to Verified
  • Assignee deleted (Dan Gillean)

Also available in: Atom PDF