[Openais] [corosync] Missing evs confchg events?

Lars Ekman G lars.g.ekman at ericsson.com
Tue Jun 1 06:47:34 PDT 2010


Hello,

I wrote a trivial test-program that uses the evs service and
prints configuration changes. I started it on 4 processors
in a cluster and rebooted one. But I did not get any cfg-change
event in my program (running on the remaining 3 processors).

After some hours of troubleshooting I found that the patch below
fixed the problem.

Is this a bug or have I missed something?

I can post/send the program and the corosync configuration if
necessary. I am using corosync-1.2.3.

Thanks,
Lars Ekman


corosync-1.2.3 > diff -u services/evs.c.orig  services/evs.c
--- services/evs.c.orig 2010-06-01 15:31:17.000000000 +0200
+++ services/evs.c      2010-06-01 15:31:36.000000000 +0200
@@ -250,7 +250,7 @@
         */
        for (list = confchg_notify.next; list != &confchg_notify; list = list->next) {
                evs_pd = list_entry (list, struct evs_pd, list);
-               api->ipc_response_send (evs_pd->conn,
+               api->ipc_dispatch_send (evs_pd->conn,
                        &res_evs_confchg_callback,
                        sizeof (res_evs_confchg_callback));
        }



More information about the Openais mailing list