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.
2 parents 453869c + a3a5bb6 commit 0e5281bCopy full SHA for 0e5281b
ocaml/xapi/db_gc.ml
@@ -516,6 +516,10 @@ let detect_rolling_upgrade ~__context =
516
rolling_upgrade_script_hook (String.concat " " args);
517
ignore(Forkhelpers.execute_command_get_output rolling_upgrade_script_hook args)
518
end;
519
+ if not actually_in_progress then begin
520
+ debug "Resync to remove the old patches or updates.";
521
+ Helpers.call_api_functions ~__context (fun rpc session_id -> Xapi_pool_update.resync_host __context (Helpers.get_localhost ~__context))
522
+ end;
523
(* Call in to internal xapi upgrade code *)
524
if actually_in_progress
525
then Xapi_upgrade.start ()
0 commit comments