Added wiki ID to getCoalesceLocationInternal()
authorAaron Schulz <aschulz@wikimedia.org>
Thu, 3 Oct 2013 21:27:10 +0000 (14:27 -0700)
committerAaron Schulz <aschulz@wikimedia.org>
Thu, 3 Oct 2013 23:51:54 +0000 (23:51 +0000)
Change-Id: Ia1ab1883808b669e3c3b442d860c1c562e984564

includes/job/JobQueueDB.php

index 2052fc1..af21bc1 100644 (file)
@@ -605,7 +605,9 @@ class JobQueueDB extends JobQueue {
        }
 
        public function getCoalesceLocationInternal() {
-               return $this->cluster ? "DBCluster:{$this->cluster}" : "LBFactory:{$this->wiki}";
+               return $this->cluster
+                       ? "DBCluster:{$this->cluster}:{$this->wiki}"
+                       : "LBFactory:{$this->wiki}";
        }
 
        protected function doGetSiblingQueuesWithJobs( array $types ) {