mirror of
https://github.com/samba-team/samba.git
synced 2025-08-03 04:22:09 +03:00
r24032: It helps testing tremendously if the cluster messaging actually sends
and receives messages to other nodes... :-)
(This used to be commit 3e9e9a3f28
)
This commit is contained in:
committed by
Gerald (Jerry) Carter
parent
7c257b2214
commit
33c57437a4
@ -94,6 +94,15 @@ NTSTATUS messaging_ctdbd_init(struct messaging_context *msg_ctx,
|
||||
return status;
|
||||
}
|
||||
|
||||
status = ctdbd_register_msg_ctx(ctx->conn, msg_ctx);
|
||||
|
||||
if (!NT_STATUS_IS_OK(status)) {
|
||||
DEBUG(10, ("ctdbd_register_msg_ctx failed: %s\n",
|
||||
nt_errstr(status)));
|
||||
TALLOC_FREE(result);
|
||||
return status;
|
||||
}
|
||||
|
||||
global_ctdbd_connection = ctx->conn;
|
||||
talloc_set_destructor(ctx, messaging_ctdbd_destructor);
|
||||
|
||||
|
Reference in New Issue
Block a user