Last active
October 2, 2015 20:12
-
-
Save hashbrowncipher/56fc7ba4f2682dfea9ff to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| 0. compile haproxy with patch: https://gist.github.com/hashbrowncipher/a0da32514f2f240cbbbf | |
| 1. start up new haproxy | |
| 2. haproxy becomes ready -> exits (after forking) | |
| 3. plug SYNs | |
| 4. send SIGUSR1 to old haproxy | |
| 5. flock(/var/run/synapse/haproxy_pids/PID.lock, LOCK_EX) -> blocks a bit | |
| 6. unplug SYNs |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
This is really cool, let's make your patch an option and get it upstreamed.
Also in the meantime we can apply to our internal 1.5 branch.