From Bogdan:
This task may be done by analyzing rabbitmqctl list queues slave_pids syncronized_slave_pids and waiting for sync until queues are all synced. The loop or method should be called wait_for_all_queues_in_sync. The loop should run until 50% of timeout interval for stop or demote action, defined by OCF_RESKEY_CRM_meta_timeout.
From Bogdan: slave_pids and waiting for sync until queues are all synced. The loop or method should be called wait_for_ all_queues_ in_sync. The loop should run until 50% of timeout interval for stop or demote action, defined by OCF_RESKEY_ CRM_meta_ timeout.
This task may be done by analyzing rabbitmqctl list queues slave_pids syncronized_