Page MenuHomePhabricator

Provide access to limbo messages without knowing keys
Closed, ResolvedPublic2 Estimated Story Points

Description

Track a list of active limbo messages. We want to access this list as both a key-value store indexed by correlation-id, and a FIFO queue ordered by date.

This needs to be deployed before switching the slayer to read from memcache, so that data is available.

https://github.com/adamwight/php-queue/pull/3

Event Timeline

awight claimed this task.
awight raised the priority of this task from to Medium.
awight updated the task description. (Show Details)
awight set Security to None.
awight edited a custom field.
awight moved this task from Backlog to Review on the Fundraising Sprint Kraftwerk board.
awight added subscribers: awight, Aklapper, gerritbot and 2 others.
awight moved this task from Doing to Review on the Fundraising Sprint Lou Reed board.
awight edited a custom field.

Looking good! Couple of issues in https://github.com/adamwight/php-queue/commit/b7082cc23d037b5471f8e1efb0c01d43dad99e4c . Side note - I tried configuring the predis backend with an array of servers and it told me the multi / exec transaction wasn't supported across an aggregated connection. Will try to get to the bottom of that, since part of the goal is to make the queue server not an SPOF.

Change 215856 had a related patch set uploaded (by Awight):
Implement IndexedFifoQueue for Predis

https://gerrit.wikimedia.org/r/215856

Please review in Gerrit, now... Thanks!

Change 215856 merged by Ejegg:
Implement IndexedFifoQueue for Predis

https://gerrit.wikimedia.org/r/215856

This code has been written. Track further work in new issues.