Hi

This is needed by the test suite (next email).

CTS uses this to figure out join/leave events.

-Angus

Signed-off-by: Angus Salkeld <[email protected]>
---
 exec/main.c |    8 ++++++++
 1 files changed, 8 insertions(+), 0 deletions(-)

diff --git a/exec/main.c b/exec/main.c
index 34ceb97..3f3ec87 100644
--- a/exec/main.c
+++ b/exec/main.c
@@ -353,6 +353,14 @@ static void confchg_fn (
        serialize_lock ();
        memcpy (&corosync_ring_id, ring_id, sizeof (struct memb_ring_id));
 
+       for (i = 0; i < left_list_entries; i++) {
+               log_printf (LOGSYS_LEVEL_DEBUG,
+                       "Member left: %s\n", api->totem_ifaces_print 
(left_list[i]));
+       }
+       for (i = 0; i < joined_list_entries; i++) {
+               log_printf (LOGSYS_LEVEL_DEBUG,
+                       "Member joined: %s\n", api->totem_ifaces_print 
(joined_list[i]));
+       }
        /*
         * Call configuration change for all services
         */
-- 
1.6.6


_______________________________________________
Openais mailing list
[email protected]
https://lists.linux-foundation.org/mailman/listinfo/openais

Reply via email to