Closed Bug 823510 Opened 12 years ago Closed 11 years ago

Celery needs to retry on another node

Categories

(Marketplace Graveyard :: General, defect, P4)

x86
macOS
defect

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
Assignee: nobody → ashort
Target Milestone: --- → 2013-01-03
Target Milestone: 2013-01-03 → 2013-01-10
Priority: -- → P4
Status: NEW → UNCONFIRMED
Ever confirmed: false
Target Milestone: 2013-01-10 → 2013-01-17
Target Milestone: 2013-01-17 → 2013-01-24
Whiteboard: u=mkt p=3
Celery 3.x uses the new version of kombu. Failover hosts can be specified in BROKER_URL as URLs separated by semicolons.
(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 → ---
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
Target Milestone: 2013-02-28 → ---
zamboni now uses Celery 3.x.
Status: NEW → RESOLVED
Closed: 11 years ago
Resolution: --- → FIXED
Target Milestone: --- → 2013-06-06
Please add STRs or mark it as [qa-] if no QA is needed for this bug.
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.