Upgrade Parameters

IsInplaceUpgrade

Parameter description: Specifies whether an upgrade is ongoing. This parameter cannot be modified by users. Only the sysadmin user can access this parameter.

This parameter is a SUSET parameter. Set it based on instructions provided in Table 1.

Value range: Boolean

  • on indicates an upgrade is ongoing.
  • off indicates no upgrade is ongoing.

Default value: off

inplace_upgrade_next_system_object_oids

Parameter description: Indicates the OID of a new system object during the in-place upgrade. The value of this parameter cannot be changed.

This parameter is a SUSET parameter. Set it based on instructions provided in Table 1.

Value range: a string

Default value: empty

upgrade_mode

Parameter description: Specifies the upgrade mode.

This parameter is a fixed INTERNAL parameter and cannot be modified.

Value range: an integer ranging from 0 to INT_MAX

  • 0 indicates that no upgrade is ongoing.
  • 1 indicates that a local upgrade is ongoing.
  • 2 indicates that a grayscale upgrade is ongoing.

Default value: 0

NOTE: Special case: When the gray upgrade is used, if the major version upgrade policy is selected, that is, the upgrade script needs to be executed and the binary package needs to be replaced, the value of upgrade_mode is set to 2;iIf the minor version upgrade policy is selected, that is, only the binary package needs to be replaced, the value of upgrade_mode is not set to 2.

Feedback
编组 3备份
    openGauss 2024-05-07 00:46:52
    cancel