Skip to content

Commit ac99c0e

Browse files
Merge pull request #2285 from rabbitmq/upgrade-4.x
Fix wrong upgrade path
2 parents 69a8f99 + bf3978f commit ac99c0e

File tree

2 files changed

+32
-28
lines changed

2 files changed

+32
-28
lines changed

docs/upgrade.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ Multiple nodes can be added and removed at a time.
118118

119119
## RabbitMQ Version Upgradability {#rabbitmq-version-upgradability}
120120

121-
You can only upgrade to RabbitMQ 4.0 from RabbitMQ 3.13.x.
121+
Upgrades from RabbitMQ 3.13.x are supported to both RabbitMQ 4.0.x and RabbitMQ 4.1.x.
122122

123-
Don't forget to [enable all stable feature flags](./feature-flags#how-to-enable-feature-flags) while still on 3.13,
124-
**before** attempting an upgrade to RabbitMQ 4.0, or the upgrade will fail.
123+
All [stable feature flags must be enabled](./feature-flags#how-to-enable-feature-flags),
124+
**before** an upgrade, or the upgrade may fail.
125125

126126
If you are not on RabbitMQ 3.13 yet, refer to the table below to understand your upgrade path.
127127

@@ -130,22 +130,24 @@ If you are not on RabbitMQ 3.13 yet, refer to the table below to understand your
130130

131131
The following shows the supported upgrade paths.
132132

133-
| From | To | Notes |
134-
|----------|--------|---------------------------------------------------------------|
135-
| 3.13.x | 4.0.x | All stable feature flags **must** be enabled **before** the upgrade |
136-
| 3.12.x | 3.13.x | |
137-
| 3.11.18 | 3.12.x | All feature flags **must** be enabled **before** the upgrade |
138-
| 3.10.x | 3.11.x | All feature flags **must** be enabled **before** the upgrade |
139-
| 3.9.x | 3.10.x | |
140-
| 3.8.x | 3.9.x | |
141-
| 3.7.18 | 3.8.x | |
133+
| From | To |
134+
|----------|--------|
135+
| 4.0.x | 4.1.x |
136+
| 3.13.x | 4.1.x |
137+
| 3.13.x | 4.0.x |
138+
| 3.12.x | 3.13.x |
139+
| 3.11.18 | 3.12.x |
140+
| 3.10.x | 3.11.x |
141+
| 3.9.x | 3.10.x |
142+
| 3.8.x | 3.9.x |
143+
| 3.7.18 | 3.8.x |
142144
</details>
143145

144146
:::note
145147
RabbitMQ 3.13 included experimental support for Khepri. However, major changes
146148
had to be introduced since then, leading to incompatibilities between Khepri support
147-
in 3.13 and 4.0. Therefore, RabbitMQ 3.13 with Khepri enabled **cannot** be upgraded
148-
to 4.0. [Blue-Green Deployment](./blue-green-upgrade) can still be used in this situation,
149+
in 3.13 and 4.x. Therefore, RabbitMQ 3.13 with Khepri enabled **cannot** be upgraded
150+
to 4.x. [Blue-Green Deployment](./blue-green-upgrade) can still be used in this situation,
149151
since technically it is not an upgrade, but rather a migration to a fresh cluster.
150152
:::
151153

versioned_docs/version-4.1/upgrade.md

Lines changed: 16 additions & 14 deletions
Original file line numberDiff line numberDiff line change
@@ -118,10 +118,10 @@ Multiple nodes can be added and removed at a time.
118118

119119
## RabbitMQ Version Upgradability {#rabbitmq-version-upgradability}
120120

121-
You can only upgrade to RabbitMQ 4.0 from RabbitMQ 3.13.x.
121+
Upgrades from RabbitMQ 3.13.x are supported to both RabbitMQ 4.0.x and RabbitMQ 4.1.x.
122122

123-
Don't forget to [enable all stable feature flags](./feature-flags#how-to-enable-feature-flags) while still on 3.13,
124-
**before** attempting an upgrade to RabbitMQ 4.0, or the upgrade will fail.
123+
All [stable feature flags must be enabled](./feature-flags#how-to-enable-feature-flags),
124+
**before** an upgrade, or the upgrade may fail.
125125

126126
If you are not on RabbitMQ 3.13 yet, refer to the table below to understand your upgrade path.
127127

@@ -130,22 +130,24 @@ If you are not on RabbitMQ 3.13 yet, refer to the table below to understand your
130130

131131
The following shows the supported upgrade paths.
132132

133-
| From | To | Notes |
134-
|----------|--------|---------------------------------------------------------------|
135-
| 3.13.x | 4.0.x | All stable feature flags **must** be enabled **before** the upgrade |
136-
| 3.12.x | 3.13.x | |
137-
| 3.11.18 | 3.12.x | All feature flags **must** be enabled **before** the upgrade |
138-
| 3.10.x | 3.11.x | All feature flags **must** be enabled **before** the upgrade |
139-
| 3.9.x | 3.10.x | |
140-
| 3.8.x | 3.9.x | |
141-
| 3.7.18 | 3.8.x | |
133+
| From | To |
134+
|----------|--------|
135+
| 4.0.x | 4.1.x |
136+
| 3.13.x | 4.1.x |
137+
| 3.13.x | 4.0.x |
138+
| 3.12.x | 3.13.x |
139+
| 3.11.18 | 3.12.x |
140+
| 3.10.x | 3.11.x |
141+
| 3.9.x | 3.10.x |
142+
| 3.8.x | 3.9.x |
143+
| 3.7.18 | 3.8.x |
142144
</details>
143145

144146
:::note
145147
RabbitMQ 3.13 included experimental support for Khepri. However, major changes
146148
had to be introduced since then, leading to incompatibilities between Khepri support
147-
in 3.13 and 4.0. Therefore, RabbitMQ 3.13 with Khepri enabled **cannot** be upgraded
148-
to 4.0. [Blue-Green Deployment](./blue-green-upgrade) can still be used in this situation,
149+
in 3.13 and 4.x. Therefore, RabbitMQ 3.13 with Khepri enabled **cannot** be upgraded
150+
to 4.x. [Blue-Green Deployment](./blue-green-upgrade) can still be used in this situation,
149151
since technically it is not an upgrade, but rather a migration to a fresh cluster.
150152
:::
151153

0 commit comments

Comments
 (0)