ctdb: Call run_event_recv() in a callback function
authorVolker Lendecke <vl@samba.org>
Tue, 18 May 2021 06:01:06 +0000 (08:01 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 18 May 2021 10:42:32 +0000 (10:42 +0000)
commit9398d4b912387be8cde0c2ca30734eca7d547d19
tree0de8b9ceac19e6fc9db2e5460d07d62f0d7fcd71
parentf188c9d732e4b9b3d37c4cb09608aba747845997
ctdb: Call run_event_recv() in a callback function

Triggers a different code path in run_event_* and aligns it more what
the ctdb eventd really does.

Bug: https://bugzilla.samba.org/show_bug.cgi?id=14475
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
ctdb/tests/src/run_event_test.c