Schedules a restart of the Redis Enterprise Software processes on primary and replica instances of a specific database.

rladmin restart db { db:<id> | <name> }
        [preserve_roles]
        [discard_data]
        [force_discard]

Parameters

ParameterType/ValueDescription
dbdb:<id>
name
Restarts Redis Enterprise Software processes for the specified database
discard_dataAllows discarding data if there is no persistence or replication
force_discardForcibly discards data even if there is persistence or replication
preserve_rolesPerforms an additional failover to maintain shard roles

Returns

Returns Done if the restart completed successfully. Otherwise, it returns an error.

Example

$ rladmin restart db db:5 preserve_roles
Monitoring 1db07491-35da-4bb6-9bc1-56949f4c312a
active - SMUpgradeBDB init
active - SMUpgradeBDB stop_forwarding
active - SMUpgradeBDB stop_active_expire
active - SMUpgradeBDB check_slave
oactive - SMUpgradeBDB stop_active_expire
active - SMUpgradeBDB second_failover
completed - SMUpgradeBDB
Done