On Mon, Jun 19, 2017 at 11:26:31AM +0200, Emmanuel Hocdet wrote: > > Exactly, use case is to upgrade haproxy from a 1.6/1.7/1.8 compatibility to > 1.8 with master worker. >
That's insteresting, I will do some tests in order to be able to do this properly. > > It's much simpler than I thought (with mworker). > Perhaps keep -x internal to mworker and not expose it to legacy mode could be > less > confused for users. > I will try my test upgrade without -x. > If you want to upgrade one "legacy" process which was not a master worker, you will still need it. However, if you already have a master worker process running, it will load the new version of the binary from where it was first executed and then add the -x itself when forking its new workers on a reload. Some people still want to use the -x feature without the master-worker, and that's useful in your usecase, if your socket path changed in the configuration file. I think that's just a matter of documentation, maybe I can write a longer paragraph in the management.txt doc explaining how to upgrade for the legacy mode, and what changed between this one and the master worker. -- William Lallemand

