Drop the implementation of CHECK_SRVIDS control
Volker Lendecke
Volker.Lendecke at SerNet.DE
Fri Aug 25 03:22:35 UTC 2017
On Fri, Aug 25, 2017 at 12:53:30PM +1000, Amitay Isaacs via samba-technical wrote:
> Just another thought. CTDB also has SERVER_ID related controls.
> That might be well suited to identify each process registered with CTDB.
> And treat SRVID as pure messaging construct.
Right. But they are implemented as control_not_implemented(), so I
thought they would go soon as well.
For the pure process existence check I'd be happy to do what the local
check does: Look whether the process exists and the unique ID matches.
This can be done fine if every process registers both PID and unique
ID with the messaging-related CTDB_CONTROL_REGISTER_SRVID call. And
then have another control that checks both to exist on a single
socket. I know that's overloading the messaging IDs, but they are
kindof overloaded for local messaging too.
Volker
--
SerNet GmbH, Bahnhofsallee 1b, 37081 Göttingen
phone: +49-551-370000-0, fax: +49-551-370000-9
AG Göttingen, HRB 2816, GF: Dr. Johannes Loxen
http://www.sernet.de, mailto:kontakt at sernet.de
More information about the samba-technical
mailing list