Skip to content

Commit

Permalink
DLPX-88573 Perform deferred upgrade prior to VDB downtime for FULL up…
Browse files Browse the repository at this point in the history
…grade (#742)
  • Loading branch information
Prakash Surya authored Nov 14, 2023
1 parent 7cb8f10 commit a1b7edf
Showing 1 changed file with 7 additions and 1 deletion.
8 changes: 7 additions & 1 deletion upgrade/upgrade-scripts/execute
Original file line number Diff line number Diff line change
Expand Up @@ -604,7 +604,13 @@ if [[ -f "$UPDATE_DIR/upgrade.properties" ]]; then
source_upgrade_properties
fi

if [[ -n "$opt_f" ]] || [[ "$UPGRADE_TYPE" == "FULL" ]]; then
#
# On versions 18.0 and greater, we don't issue the reboot. Rather,
# we restart the delphix services, and the reboot will be issued by
# the virtualization service as it starts up.
#
if { [[ -n "$opt_f" ]] || [[ "$UPGRADE_TYPE" == "FULL" ]]; } &&
compare_versions "$CURRENT_VERSION" lt "18.0.0.0-0"; then
post_alert "reboot"
exec systemctl reboot || die "failed to reboot"
else
Expand Down

0 comments on commit a1b7edf

Please sign in to comment.