Set Environment Variable

To avoid getting dangerously large differences between the system database data and the most recent CQL CSV files, both mdsh and the new commands have logic to check this and remind the administrator. This behavior can be configured by using of the $_MD_BACKUP_OPTION environment variable.

The environment variable $_MD_BACKUP_OPTION can be set to:

AUTO

meaning that data_backup will be done automatically when needed for system stability. Manual data_backup is still needed to commit changes done after the automatic data_backup.

WARN-AUTO

meaning that warnings will be printed when data_backup is needed for system stability. When critically needed for system stability, an automatic data_backup will be done. (Manual data_backup is still needed to commit changes done after the automatic data_backup.) (WARN-AUTO is the default if $_MD_BACKĀ­UP_OPTION is unset.)

WARN-BLOCK

meaning that warnings will be printed when data_backup is needed for system stability. When data_backup is critically needed for system stability, data changes will be blocked until a manual data_backup is done.

UNSAFE-GDSX-MODE

get a functionality that is generally very stupid, but that is needed for some GDS-X tests. This mode jeopardizes system stability. Never use this mode except for some specific GDS-X tests. Never use this mode in production systems.