ctdbd_conn: let register_with_ctdbd() call CTDB_CONTROL_REGISTER_SRVID just once
authorStefan Metzmacher <metze@samba.org>
Thu, 16 Nov 2023 12:04:12 +0000 (13:04 +0100)
committerStefan Metzmacher <metze@samba.org>
Fri, 15 Dec 2023 11:06:34 +0000 (11:06 +0000)
commit77a559432ffde2d435e29bed126d20a09d33f48e
tree0e434648ca9f0f0318b6a35bfd8f220d460d3f14
parent240139370aa19f53dd3de0ff468afd994d3bd973
ctdbd_conn: let register_with_ctdbd() call CTDB_CONTROL_REGISTER_SRVID just once

We do the dispatching to multiple handlers in ctdbd_msg_call_back()
and we don't need more than one message from ctdb.

BUG: https://bugzilla.samba.org/show_bug.cgi?id=15523

Signed-off-by: Stefan Metzmacher <metze@samba.org>
Reviewed-by: Martin Schwenke <martin@meltin.net>
source3/lib/ctdbd_conn.c