Hi list,
so with the new shm-stats-file option in 3.3, setting GUID's is a
requirement. Wouldn't it be easier to still allow setting GUIDs by hand
but, as default, generate some implicit/automatic.
IMO it would be fine to just auto-prefix the GUID's with either
frontend/backend/listen and then the actual proxy name. So that a GUID
for "frontend foobar" would be "frontend-foobar" for example.
frontend/backend/listen proxy names need to be unique already. So we
basically already have a good base for unique IDs.
The same could be done with servers, though a bit different. type +
proxy name + servername.
That would save a lot of config directives etc., esp. for huge configs.
Also much easier if you don't need any special sort of GUID's for
whatever reason. If you need the GUID for something, it's also pretty
much straight forward to guess it. If someone still needs it, it would
simply override the implicit default.
What do you think?
--
Regards,
Christian Ruppert