On Mon, Jan 17, 2022 at 10:21:44PM -0300, Joao Morais wrote:
> 
> Hello list, I have a consumer of the master socket’s `show proc`
> output and I observed that 2.5 changed its lay out, and this change
> lead me to two doubts:

> - Is there a release notes or something with all the backward
> compatibility changes between minor versions? I observed that 2.5 now
> requires that var() has a match type, but maybe there are other
> changes that I’m missing and I should take care;

We try to limite breakage when we create a new branch, but sometimes
things were poorly designed and invalid configuration could break, we
describe these changes in the changelog mails most of the time.

You can also try a git log on doc/management.txt and
doc/configuration.txt it will show the changes.

> - Do you suggest me a good way to identify the proxy version so I can
> use a distinct parser for the show proc output? I’m currently using
> the last field of the second line, but might be a better option out
> there that I’m not aware of.

For the `show proc` output, I specifically added a "show version"
command in 2.5, which was backported in 2.4.10, 2.3.17, 2.2.20, in the
master of the soon to be released 2.0.27.

The change in `show proc` was made to remove the relative PID because
HAProxy is not multi-process anymore.

But if you parse the output by splitting the spaces and keeping the
right field with the header you shouldn't have a parsing problem.

-- 
William Lallemand

Reply via email to