Closed
Bug 823510
Opened 12 years ago
Closed 11 years ago
Celery needs to retry on another node
Categories
(Marketplace Graveyard :: General, defect, P4)
Tracking
(Not tracked)
RESOLVED
FIXED
2013-06-06
People
(Reporter: tarek, Assigned: ashort)
Details
(Whiteboard: [qa-] u=mkt p=3)
See https://wiki.mozilla.org/Marketplace/HAResults#RabbitMQ And: 14:56 < tarek> hi Celery! is there a way in kombu to replay a call to the broken to a fallback node when the connection errors out ? 15:14 < asksol_> tarek: in kombu 2.5 you can have multiple url's 15:14 < asksol_> since kombu 2.5 i should say, since it's already the latest 15:15 < asksol_> this is functionality that augments Connection.ensure .autoretry 15:16 < asksol_> connection.ensure(obj, method, **retry_policy)(*args, **kwargs) will retry in the event of connection failure, and obj.__revive__(channel) is called when a new connection/channel has been made 15:17 < asksol_> Producer, Queue, Exchange,etc all support __revive__ 15:19 < asksol_> Producer.publish also supports a retry argument: Producer.publish(message, retry=True, declare=[queue1], retry_policy={…}) 15:20 < asksol_> I should really find the time to document this, kombu docs are really incomplete
Updated•12 years ago
|
Assignee: nobody → ashort
Target Milestone: --- → 2013-01-03
Assignee | ||
Updated•11 years ago
|
Target Milestone: 2013-01-03 → 2013-01-10
Updated•11 years ago
|
Priority: -- → P4
Assignee | ||
Updated•11 years ago
|
Status: NEW → UNCONFIRMED
Ever confirmed: false
Target Milestone: 2013-01-10 → 2013-01-17
Updated•11 years ago
|
Target Milestone: 2013-01-17 → 2013-01-24
Updated•11 years ago
|
Whiteboard: u=mkt p=3
Assignee | ||
Comment 1•11 years ago
|
||
Celery 3.x uses the new version of kombu. Failover hosts can be specified in BROKER_URL as URLs separated by semicolons.
Comment 2•11 years ago
|
||
(In reply to Allen Short [:ashort] from comment #1) > Celery 3.x uses the new version of kombu. Failover hosts can be specified in > BROKER_URL as URLs separated by semicolons. What is the status of upgrading?
Target Milestone: 2013-01-24 → ---
Assignee | ||
Comment 3•11 years ago
|
||
Upgrading celery to 3.x caused some inexplicable tracebacks on -dev. Postponing this until we have a better way to diagnose/reproduce these problems.
Status: UNCONFIRMED → NEW
Ever confirmed: true
Target Milestone: --- → 2013-02-28
Updated•11 years ago
|
Target Milestone: 2013-02-28 → ---
Assignee | ||
Comment 4•11 years ago
|
||
zamboni now uses Celery 3.x.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Updated•11 years ago
|
Target Milestone: --- → 2013-06-06
Comment 5•11 years ago
|
||
Please add STRs or mark it as [qa-] if no QA is needed for this bug.
Updated•11 years ago
|
Whiteboard: u=mkt p=3 → [qa-] u=mkt p=3
You need to log in
before you can comment on or make changes to this bug.
Description
•