MCPcopy Create free account
hub / github.com/ClusterLabs/pacemaker / local_update_for_hash_entry

Function local_update_for_hash_entry

tools/attrd.c:444–456  ·  view source on GitHub ↗

Source from the content-addressed store, hash-verified

442}
443
444static void
445local_update_for_hash_entry(gpointer key, gpointer value, gpointer user_data)
446{
447 attr_hash_entry_t *entry = value;
448
449 if (entry->timer_id == 0) {
450 crm_trace("Performing local-only update after replace for %s", entry->id);
451 attrd_perform_update(entry);
452 /* } else {
453 * just let the timer expire and attrd_timer_callback() will do the right thing
454 */
455 }
456}
457
458static void
459do_cib_replaced(const char *event, xmlNode * msg)

Callers

nothing calls this directly

Calls 1

attrd_perform_updateFunction · 0.85

Tested by

no test coverage detected