Skip to content

Commit 69c4e2f

Browse files
Merge pull request #1783 from redis/RDSC-3785-add-note-for-rdi-1.8.0-upgrade-known-issue
RDSC-3785: Document known issue for RDI upgrade from < 1.8.0 to >= 1.8.0
2 parents a68a5d6 + f0b3e0f commit 69c4e2f

File tree

2 files changed

+46
-0
lines changed

2 files changed

+46
-0
lines changed

content/integrate/redis-data-integration/installation/upgrade.md

Lines changed: 20 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -82,6 +82,26 @@ If there is an active pipeline, upgrade RDI on the active VM first.
8282
This will cause a short pipeline downtime of up to two minutes.
8383
Afterwards, upgrade RDI on the passive VM. This will not cause any downtime.
8484

85+
{{< warning >}}
86+
When upgrading from RDI < 1.8.0 to RDI >= 1.8.0 in a VM HA setup, both RDI instances may incorrectly consider themselves active after the upgrade. This occurs because the upgrade process doesn't change the cluster id value from its default `cluster-1`, causing both clusters to assume they are the active cluster.
87+
88+
**Symptoms:**
89+
90+
- The upgraded passive node will start collector and processor components
91+
- Collector may enter a crash loop as it fails to connect to the source
92+
- Both clusters will restart in a loop
93+
94+
**Workaround:**
95+
96+
After upgrading, manually set a unique cluster ID for one of the installations (preferably on the passive instance):
97+
98+
1. Locate the RDI configuration file on the VM host. The file is typically located at `/etc/rdi/rdi-sys-config.yaml`.
99+
2. Open the configuration file in a text editor. For example:
100+
101+
```bash
102+
sudo nano /etc/rdi/rdi-sys-config.yaml
103+
{{< /warning >}}
104+
85105
## Upgrading a Kubernetes installation
86106
87107
Follow the steps below to upgrade an existing

content/integrate/redis-data-integration/release-notes/rdi-1-8-0.md

Lines changed: 26 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -87,3 +87,29 @@ The RDI operator has been significantly enhanced in the following areas:
8787
## Limitations
8888

8989
RDI can write data to a Redis Active-Active database. However, it doesn't support writing data to two or more Active-Active replicas. Writing data from RDI to several Active-Active replicas could easily harm data integrity as RDI is not synchronous with the source database commits.
90+
91+
## Known Issues
92+
93+
### High Availability upgrade issue
94+
95+
When upgrading from RDI < 1.8.0 to RDI >= 1.8.0 in an HA setup, both RDI instances may incorrectly consider themselves active after the upgrade. This occurs because the upgrade process doesn't update the `rdi:ha:lock` value from the legacy `cluster-1` identifier, causing both clusters to assume they are the active cluster.
96+
97+
**Symptoms:**
98+
99+
- The upgraded passive node will start collector and processor components
100+
- Collector may enter a crash loop as it fails to connect to the source
101+
- Both clusters will restart in a loop
102+
103+
**Workaround:**
104+
105+
After upgrading, manually set a unique cluster ID for one of the installations by editing the configmap:
106+
107+
```bash
108+
kubectl edit cm -n rdi rdi-sys-config
109+
```
110+
111+
Then add the following line to distinguish between the clusters:
112+
113+
```bash
114+
RDI_CLUSTER_ID: cluster-2
115+
```

0 commit comments

Comments
 (0)