Patches: Browse | Submit New | Admin

[#15427] restart ports one-by-one (rolling restart)

Date:
2007-11-07 14:15
Priority:
3
Submitted By:
Eden Li (wulong)
Assigned To:
Evan Weaver (evanweaver)
Category:
mongrel_cluster
State:
Open
Summary:
restart ports one-by-one (rolling restart)

Detailed description
Instead of stopping all ports and then starting them up again during `mongrel_rails cluster::restart`, this patch stops
each port, checks it (and does a force stop if necessary) and restarts it again before moving on to the next port.

This allows downstream proxies to fail over to other mongrels while each individual port is being restarted.

Patch based on code by Eric Kolve.  I added `check_wait`.

Add A Comment: Notepad

Please login


Followup

No Followups Have Been Posted

Attached Files:

Name Description Download
rolling-restart.patch Download

Changes:

Field Old Value Date By
resolution_idNone2007-12-22 21:32evanweaver
assigned_tobktaylor2007-11-21 03:24evanweaver
File Added2761: rolling-restart.patch2007-11-07 14:15wulong