Page MenuHomeClusterLabs Projects

Avoid blocking wait in controller for CIB re-request
Open, NormalPublic

Assigned To
None
Authored By
kgaillot
Tue, Jan 7, 3:29 PM
Tags
  • Restricted Project
  • Restricted Project
  • Restricted Project
Referenced Files
None
Subscribers

Description

Avoid the sleep(1) in daemons/controld/controld_schedulerd.c:do_pe_invoke_callback(). The easiest way would be a mainloop timer.

If the controller somehow gets in a loop requesting the CIB, the sleeps will be significant and can even get it killed by pacemakerd for being unresponsive.

Event Timeline

kgaillot triaged this task as Normal priority.Tue, Jan 7, 3:29 PM
kgaillot created this task.
kgaillot created this object with edit policy "Restricted Project (Project)".