From: Aaron Schulz Date: Thu, 11 Apr 2013 18:50:19 +0000 (-0700) Subject: Minor fix to redis queue docs. X-Git-Tag: 1.31.0-rc.0~20028^2 X-Git-Url: http://git.cyclocoop.org/%22%2C%20generer_url_ecrire%28?a=commitdiff_plain;h=4f8ced41c4ab050b6ebe8cddf3ea83755ffef299;p=lhc%2Fweb%2Fwiklou.git Minor fix to redis queue docs. Change-Id: I27394ddc8187ab3e9c275e2d72911318cc496604 --- diff --git a/includes/job/JobQueueRedis.php b/includes/job/JobQueueRedis.php index 26a9b7295d..1b22c8d7af 100644 --- a/includes/job/JobQueueRedis.php +++ b/includes/job/JobQueueRedis.php @@ -33,14 +33,14 @@ * - z-abandoned : A sorted set of (job ID, UNIX timestamp as score) used for broken jobs * - z-delayed : A sorted set of (job ID, UNIX timestamp as score) used for delayed jobs * - h-idBySha1 : A hash of (SHA1 => job ID) for unclaimed jobs used for de-duplication - * - h-sha1Byid : A hash of (job ID => SHA1) for unclaimed jobs used for de-duplication + * - h-sha1ById : A hash of (job ID => SHA1) for unclaimed jobs used for de-duplication * - h-attempts : A hash of (job ID => attempt count) used for job claiming/retries * - h-data : A hash of (job ID => serialized blobs) for job storage * A job ID can be in only one of z-delayed, l-unclaimed, z-claimed, and z-abandoned. * If an ID appears in any of those lists, it should have a h-data entry for its ID. * If a job has a SHA1 de-duplication value and its ID is in l-unclaimed or z-delayed, then - * there should be no other such jobs with that SHA1. Every h-idBySha1 entry has an h-sha1Byid - * entry and every h-sha1Byid must refer to an ID that is l-unclaimed. If a job has its + * there should be no other such jobs with that SHA1. Every h-idBySha1 entry has an h-sha1ById + * entry and every h-sha1ById must refer to an ID that is l-unclaimed. If a job has its * ID in z-claimed or z-abandoned, then it must also have an h-attempts entry for its ID. * * Additionally, "rootjob:* keys track "root jobs" used for additional de-duplication.