File tree Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Expand file tree Collapse file tree 1 file changed +10
-5
lines changed Original file line number Diff line number Diff line change @@ -427,11 +427,16 @@ let compute_corosync_max_host_failures ~__context =
427
427
corosync_ha_max_hosts
428
428
429
429
module Watcher = struct
430
+ let routine_updates = " routine updates"
431
+
430
432
let on_corosync_update ~__context ~cluster updates =
431
- debug
432
- " %s: Received %d updates from corosync_notifyd, run diagnostics to get \
433
- new state"
434
- __FUNCTION__ (List. length updates) ;
433
+ if updates = [routine_updates] then
434
+ debug " %s: Perform routine updates" __FUNCTION__
435
+ else
436
+ debug
437
+ " %s: Received %d updates from corosync_notifyd, run diagnostics to get \
438
+ new state"
439
+ __FUNCTION__ (List. length updates) ;
435
440
let m =
436
441
Cluster_client.LocalClient. diagnostics (rpc ~__context)
437
442
" update quorum api fields with diagnostics"
@@ -570,7 +575,7 @@ module Watcher = struct
570
575
(* CA-395789: We send a query to xapi-clusterd to fetch the latest state
571
576
anyway in case there is a race and the previous update did not give the
572
577
most up-to-date information *)
573
- find_cluster_and_update [" routine updates " ]
578
+ find_cluster_and_update [routine_updates ]
574
579
| Error (InternalError message ) | Error (Unix_error message ) ->
575
580
warn " %s: Cannot query cluster host updates with error %s"
576
581
__FUNCTION__ message
You can’t perform that action at this time.
0 commit comments