Skip to content

Commit 3f917d9

Browse files
authored
DOC-4566 DOC-4567 RS: Fix DB names in rladmin upgrade examples to correctly follow DB naming rules (#896)
1 parent 88d17d0 commit 3f917d9

File tree

1 file changed

+8
-8
lines changed

1 file changed

+8
-8
lines changed

content/operate/oss_and_stack/stack-with-enterprise/install/upgrade-module.md

Lines changed: 8 additions & 8 deletions
Original file line numberDiff line numberDiff line change
@@ -58,13 +58,13 @@ To upgrade a module enabled for a database:
5858
- For clusters with Redis Enterprise Software versions 7.8.2 or later, run:
5959

6060
```sh
61-
rladmin upgrade db < database_name | database_ID >
61+
rladmin upgrade db < database-name | database-ID >
6262
```
6363

6464
- For clusters with versions earlier than 7.8.2, include the `latest_with_modules` option:
6565

6666
```sh
67-
rladmin upgrade db < database_name | database_ID > latest_with_modules
67+
rladmin upgrade db < database-name | database-ID > latest_with_modules
6868
```
6969

7070
{{<warning>}}
@@ -96,13 +96,13 @@ The following module upgrade examples are supported for Redis Enterprise Softwar
9696
- Keep the current Redis database version, which is 7.2 in this example, and upgrade to the latest version of the enabled modules:
9797

9898
```sh
99-
rladmin upgrade db shopping_cart redis_version 7.2
99+
rladmin upgrade db shopping-cart redis_version 7.2
100100
```
101101

102102
- Upgrade the database to use the latest version of Redis and the latest versions of the enabled modules:
103103

104104
```sh
105-
rladmin upgrade db shopping_cart
105+
rladmin upgrade db shopping-cart
106106
```
107107

108108
## Deprecated examples
@@ -112,19 +112,19 @@ As of Redis Enterprise Software version 7.8.2, the following module upgrade exam
112112
- Keep the current version of Redis and upgrade to the latest version of the enabled modules:
113113

114114
```sh
115-
rladmin upgrade db shopping_cart keep_redis_version latest_with_modules
115+
rladmin upgrade db shopping-cart keep_redis_version latest_with_modules
116116
```
117117

118118
- Upgrade the database to the latest Redis version and upgrade RediSearch to 1.6.7 with the specified arguments:
119119

120120
```sh
121-
rladmin upgrade db shopping_cart and module db_name shopping_cart module_name ft version 10607 module_args "PARTITIONS AUTO"
121+
rladmin upgrade db shopping-cart and module db_name shopping-cart module_name ft version 10607 module_args "PARTITIONS AUTO"
122122
```
123123

124124
- Upgrade the database to the latest Redis version and upgrade RedisBloom to version 2.2.1 without arguments:
125125

126126
```sh
127-
rladmin upgrade db db:3 and module db_name shopping_cart module_name bf version 20201 module_args ""
127+
rladmin upgrade db db:3 and module db_name shopping-cart module_name bf version 20201 module_args ""
128128
```
129129

130130
- Upgrade RedisJSON to 1.0.4 with the existing arguments and RedisBloom to version 2.2.1 without arguments:
@@ -136,5 +136,5 @@ As of Redis Enterprise Software version 7.8.2, the following module upgrade exam
136136
- Upgrade the database to use the latest version of Redis and use the latest version of the enabled modules:
137137

138138
```sh
139-
rladmin upgrade db shopping_cart latest_with_modules
139+
rladmin upgrade db shopping-cart latest_with_modules
140140
```

0 commit comments

Comments
 (0)