[JobQueueSecondTestQueue] Support read-only mode.
authorPetr Pchelko <ppchelko@wikimedia.org>
Mon, 5 Mar 2018 19:44:11 +0000 (16:44 -0300)
committerPetr Pchelko <ppchelko@wikimedia.org>
Mon, 5 Mar 2018 19:44:11 +0000 (16:44 -0300)
commit813133743d9ee02c58eb9b6012a9e312742c50e9
treeff3f9786f7562bcf2471bfa0edebf9e3e51820ec
parenta2c8c2969420a0f150c03f76e3a0bf9028fcda43
[JobQueueSecondTestQueue] Support read-only mode.

In order to switch non-idempotent jobs without losing the
backlog in redis we should support read-only mode in the queue,
where the messages only gets written into the new queue.

Change-Id: I2e9cb2d9cbbd2d657d042b55d4ea0819d21cdd6f
includes/jobqueue/JobQueueSecondTestQueue.php