We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 3dc79e0 commit cca43a4Copy full SHA for cca43a4
ocaml/xapi/xapi_cluster.ml
@@ -296,6 +296,8 @@ let pool_resync ~__context ~self:_ =
296
find or create a matching cluster_host which is also enabled *)
297
298
let cstack_sync ~__context ~self =
299
- debug "%s: sync db data with cluster stack" __FUNCTION__ ;
300
- Watcher.on_corosync_update ~__context ~cluster:self
301
- ["Updates due to cluster api calls"]
+ if Xapi_cluster_helpers.cluster_health_enabled ~__context then (
+ debug "%s: sync db data with cluster stack" __FUNCTION__ ;
+ Watcher.on_corosync_update ~__context ~cluster:self
302
+ ["Updates due to cluster api calls"]
303
+ )
0 commit comments