Closed
Bug 952266
Opened 12 years ago
Closed 12 years ago
Use a different AMQP backend than amqplib
Categories
(Release Engineering :: General, defect)
Tracking
(Not tracked)
RESOLVED
FIXED
People
(Reporter: dustin, Assigned: dustin)
References
Details
Attachments
(1 file, 2 obsolete files)
|
35.06 KB,
patch
|
bhearsum
:
review+
|
Details | Diff | Splinter Review |
Carrot is deprecated in favor of Kombu, but let's keep carrot for the moment at least.
It claims to support pika, which is used in socorro, so it might be OK. https://github.com/tonyg/pika
| Assignee | ||
Comment 1•12 years ago
|
||
Source inspection demonstrates that pika supports heartbeats. It also supports reconnections.
Blocks: 951558
| Assignee | ||
Comment 2•12 years ago
|
||
Carrot doesn't make it easy to pass config options to Pika, though. I'm going to look into monkeypatching it to do so.
| Assignee | ||
Comment 3•12 years ago
|
||
We should switch to a different library, but it's less urgent now.
No longer blocks: 951558
| Assignee | ||
Comment 4•12 years ago
|
||
I have a patch to use Kombu mostly ready - just needs some dusting-off.
| Assignee | ||
Comment 5•12 years ago
|
||
Attachment #8356879 -
Flags: review?
| Assignee | ||
Updated•12 years ago
|
Attachment #8356879 -
Flags: review? → review?(catlee)
| Assignee | ||
Comment 6•12 years ago
|
||
BTW, this changes both the agent and the web components, but does not change the message format, names, etc. So the components can be upgraded independently.
| Assignee | ||
Comment 7•12 years ago
|
||
Hmm, the heartbeat stuff appears not to work - I awoke this morning to find the selfserve-agent reconnecting every second.
| Assignee | ||
Comment 8•12 years ago
|
||
There are still some keepalive issues with kombu and py-amqp, but this fixes the problems in buildapi, at least. Amusingly, the previous version of this patched essentially opened a unique TCP connection to send heartbeats on. Not that useful!
Attachment #8356879 -
Attachment is obsolete: true
Attachment #8356879 -
Flags: review?(catlee)
Attachment #8357320 -
Flags: review?(catlee)
| Assignee | ||
Comment 9•12 years ago
|
||
My fixes for the keepalive issues have been merged, so once we upgrade to the next released versions, we should see improved behavior there.
| Assignee | ||
Comment 10•12 years ago
|
||
I had missed some last-minute updates to test_build.py. The production code remains the same.
Attachment #8357320 -
Attachment is obsolete: true
Attachment #8357320 -
Flags: review?(catlee)
Attachment #8361825 -
Flags: review?(bhearsum)
Comment 11•12 years ago
|
||
Comment on attachment 8361825 [details] [diff] [review]
use-kombu-r3.patch
Review of attachment 8361825 [details] [diff] [review]:
-----------------------------------------------------------------
This is somewhat a rubberstamp, but r+. Let's not deploy it today though?
Attachment #8361825 -
Flags: review?(bhearsum) → review+
| Assignee | ||
Comment 12•12 years ago
|
||
landed, but with automatic updating on buildapi01 already disabled (so no immediate impact)
Status: NEW → RESOLVED
Closed: 12 years ago
Resolution: --- → FIXED
Updated•8 years ago
|
Component: Tools → General
You need to log in
before you can comment on or make changes to this bug.
Description
•