Skip to content

Commit

Permalink
Fix: cib: Ensure upgrade operations from a non-DC get an acknowledgement
Browse files Browse the repository at this point in the history
  • Loading branch information
beekhof committed Oct 1, 2014
1 parent 3fc4f87 commit 93c872b
Showing 1 changed file with 5 additions and 0 deletions.
5 changes: 5 additions & 0 deletions cib/messages.c
Original file line number Diff line number Diff line change
Expand Up @@ -292,6 +292,11 @@ cib_process_upgrade_server(const char *op, int options, const char *section, xml
crm_xml_add(up, F_TYPE, "cib");
crm_xml_add(up, F_CIB_OPERATION, CIB_OP_UPGRADE);
crm_xml_add(up, F_CIB_SCHEMA_MAX, get_schema_name(new_version));
crm_xml_add(up, F_CIB_DELEGATED, host);
crm_xml_add(up, F_CIB_CLIENTID, crm_element_value(req, F_CIB_CLIENTID));
crm_xml_add(up, F_CIB_CALLOPTS, crm_element_value(req, F_CIB_CALLOPTS));
crm_xml_add(up, F_CIB_CALLID, crm_element_value(req, F_CIB_CALLID));

send_cluster_message(NULL, crm_msg_cib, up, FALSE);
free_xml(up);

Expand Down

0 comments on commit 93c872b

Please sign in to comment.