You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Upgrades the version of a module or Redis Enterprise Software for a database.
17
-
18
16
## `upgrade db`
19
17
20
-
Schedules a restart of the primary and replica processes of a database and then upgrades the database to the latest version of Redis Enterprise Software.
18
+
Schedules a restart of the primary and replica processes of a database and then upgrades the database to the latest version of Redis.
21
19
22
20
For more information, see [Upgrade an existing Redis Software Deployment]({{< relref "/operate/rs/7.22/installing-upgrading/upgrading" >}}).
23
21
@@ -49,7 +47,7 @@ As of Redis Enterprise Software version 7.8.2, `upgrade db` will always upgrade
49
47
| force_discard || Forces `discard_data`if replication or persistence is enabled |
50
48
| keep_crdt_protocol_version || Keeps the current CRDT protocol version |
51
49
| keep_redis_version || Upgrades to a new patch release, not to the latest major.minor version. Deprecated as of Redis Enterprise Software v7.8.2. To upgrade modules without upgrading the Redis database version, set`redis_version` to the current Redis database version instead. |
52
-
| latest_with_modules || Upgrades the Redis Enterprise Software version and all modules in the database. As of Redis Enterprise Software version 7.8.2, `upgrade db` will always upgrade modules. |
50
+
| latest_with_modules || Upgrades the Redis version and all modules in the database. As of Redis Enterprise Software version 7.8.2, `upgrade db` will always upgrade modules. |
53
51
| parallel_shards_upgrade | integer <br />'all'| Maximum number of shards to upgrade all at once |
54
52
| preserve_roles || Performs an additional failover to guarantee the shards' roles are preserved |
55
53
| redis_version | Redis version | Upgrades the database to the specified version instead of the latest version |
Upgrades the version of a module or Redis Enterprise Software for a database.
17
-
18
16
## `upgrade db`
19
17
20
-
Schedules a restart of the primary and replica processes of a database and then upgrades the database to the latest version of Redis Enterprise Software.
18
+
Schedules a restart of the primary and replica processes of a database and then upgrades the database to the latest version of Redis.
21
19
22
20
For more information, see [Upgrade an existing Redis Software Deployment]({{< relref "/operate/rs/7.4/installing-upgrading/upgrading" >}}).
23
21
@@ -47,7 +45,7 @@ As of v6.2.4, the default behavior for `upgrade db` has changed. It is now cont
47
45
| force_discard || Forces `discard_data`if replication or persistence is enabled |
48
46
| keep_crdt_protocol_version || Keeps the current CRDT protocol version |
49
47
| keep_redis_version || Upgrades to a new patch release, not to the latest major.minor version |
50
-
| latest_with_modules || Upgrades the Redis Enterprise Software version and all modules in the database |
48
+
| latest_with_modules || Upgrades the Redis version and all modules in the database |
51
49
| parallel_shards_upgrade | integer <br />'all'| Maximum number of shards to upgrade all at once |
52
50
| preserve_roles || Performs an additional failover to guarantee the shards' roles are preserved |
53
51
| redis_version | Redis version | Upgrades the database to the specified version instead of the latest version |
Upgrades the version of a module or Redis Enterprise Software for a database.
17
-
18
16
## `upgrade db`
19
17
20
-
Schedules a restart of the primary and replica processes of a database and then upgrades the database to the latest version of Redis Enterprise Software.
18
+
Schedules a restart of the primary and replica processes of a database and then upgrades the database to the latest version of Redis.
21
19
22
20
For more information, see [Upgrade an existing Redis Software Deployment]({{< relref "/operate/rs/7.8/installing-upgrading/upgrading" >}}).
23
21
@@ -49,7 +47,7 @@ As of Redis Enterprise Software version 7.8.2, `upgrade db` will always upgrade
49
47
| force_discard || Forces `discard_data`if replication or persistence is enabled |
50
48
| keep_crdt_protocol_version || Keeps the current CRDT protocol version |
51
49
| keep_redis_version || Upgrades to a new patch release, not to the latest major.minor version. Deprecated as of Redis Enterprise Software v7.8.2. To upgrade modules without upgrading the Redis database version, set`redis_version` to the current Redis database version instead. |
52
-
| latest_with_modules || Upgrades the Redis Enterprise Software version and all modules in the database. As of Redis Enterprise Software version 7.8.2, `upgrade db` will always upgrade modules. |
50
+
| latest_with_modules || Upgrades the Redis version and all modules in the database. As of Redis Enterprise Software version 7.8.2, `upgrade db` will always upgrade modules. |
53
51
| parallel_shards_upgrade | integer <br />'all'| Maximum number of shards to upgrade all at once |
54
52
| preserve_roles || Performs an additional failover to guarantee the shards' roles are preserved |
55
53
| redis_version | Redis version | Upgrades the database to the specified version instead of the latest version |
Copy file name to clipboardExpand all lines: content/operate/rs/references/cli-utilities/rladmin/upgrade.md
+3-46Lines changed: 3 additions & 46 deletions
Display the source diff
Display the rich diff
Original file line number
Diff line number
Diff line change
@@ -5,18 +5,16 @@ categories:
5
5
- docs
6
6
- operate
7
7
- rs
8
-
description: Upgrades the version of a module or Redis Enterprise Software for a database.
8
+
description: Upgrades a database's Redis version and modules.
9
9
headerRange: '[1-2]'
10
10
linkTitle: upgrade
11
11
toc: 'true'
12
12
weight: $weight
13
13
---
14
14
15
-
Upgrades the version of a module or Redis Enterprise Software for a database.
16
-
17
15
## `upgrade db`
18
16
19
-
Schedules a restart of the primary and replica processes of a database and then upgrades the database to the latest version of Redis Enterprise Software.
17
+
Schedules a restart of the primary and replica processes of a database and then upgrades the database to the latest version of Redis.
20
18
21
19
For more information, see [Upgrade an existing Redis Software Deployment]({{< relref "/operate/rs/installing-upgrading/upgrading" >}}).
[ and module module_name <module name> version <version> module_args <arguments string> ]
34
32
```
35
33
36
34
As of v6.2.4, the default behavior for`upgrade db` has changed. It is now controlled by a new parameter that sets the default upgrade policy used to create new databases and to upgrade ones alreadyin the cluster. To learn more, see [`tune cluster default_redis_version`]({{< relref "/operate/rs/references/cli-utilities/rladmin/tune#tune-cluster">}}).
@@ -48,7 +46,6 @@ As of Redis Enterprise Software version 7.8.2, `upgrade db` will always upgrade
48
46
| force_discard || Forces `discard_data`if replication or persistence is enabled |
49
47
| keep_crdt_protocol_version || Keeps the current CRDT protocol version |
50
48
| keep_redis_version || Upgrades to a new patch release, not to the latest major.minor version. Deprecated as of Redis Enterprise Software v7.8.2. To upgrade modules without upgrading the Redis database version, set`redis_version` to the current Redis database version instead. |
51
-
| latest_with_modules || Upgrades the Redis Enterprise Software version and all modules in the database. As of Redis Enterprise Software version 7.8.2, `upgrade db` will always upgrade modules. |
52
49
| parallel_shards_upgrade | integer <br />'all'| Maximum number of shards to upgrade all at once |
53
50
| preserve_roles || Performs an additional failover to guarantee the shards' roles are preserved |
54
51
| redis_version | Redis version | Upgrades the database to the specified version instead of the latest version |
@@ -71,43 +68,3 @@ active - SMUpgradeBDB wait_for_version
71
68
.completed - SMUpgradeBDB
72
69
Done
73
70
```
74
-
75
-
## `upgrade module`
76
-
77
-
Upgrades Redis modules in use by a specific database. Deprecated as of Redis Enterprise Software v7.8.2. Use [`upgrade db`](#upgrade-db) instead.
78
-
79
-
For more information, see [Upgrade modules]({{< relref "/operate/oss_and_stack/stack-with-enterprise/install/upgrade-module" >}}).
For more information about module configuration options, see [Module configuration options]({{< relref "/operate/oss_and_stack/stack-with-enterprise/install/add-module-to-database#module-configuration-options" >}}).
99
-
100
-
### Returns
101
-
102
-
Returns `Done` if the upgrade completed. Otherwise, it returns an error.
0 commit comments