HomeMogDBMogDB StackUqbar
v5.0

Documentation:v5.0

Supported Versions:

Other Versions:

Upgrade Parameters

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

img 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; If 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.

Copyright © 2011-2025 www.enmotech.com All rights reserved.