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
# Support Redis Cluster
We are using a redis cluster setup, but the current code uses
redis.from_url which only works for Redis Standalone. See:
https://github.com/redis/redis-py/blob/ceb12fe8b52f488bd1e0a42b9dc53161e77514d0/redis/utils.py#L33
So I added a config-option to support Redis Cluster which should not
break the current default behavior only extend it.
**Type of change**
- New feature (non-breaking change which adds functionality)
- Documentation update
**How Has This Been Tested**
<!-- Please add some reference about how your feature has been tested.
-->
AWS Redis cluster deployment
**Checklist**
- I added relevant documentation
- I followed the style guidelines of this project
- I did a self-review of my code
- I made corresponding changes to the documentation
- I confirm My changes generate no new warnings
- I have added tests that prove my fix is effective or that my feature
works
- TODO - I have added relevant notes to the CHANGELOG.md file (See
https://keepachangelog.com/)
---------
Co-authored-by: David Berenstein <[email protected]>
Copy file name to clipboardexpand all lines: argilla-server/CHANGELOG.md
+4
Original file line number
Diff line number
Diff line change
@@ -16,6 +16,10 @@ These are the section headers that we use:
16
16
17
17
## [Unreleased]()
18
18
19
+
## Added
20
+
21
+
- Add configuration switch to use Redis cluster vs Redis standalone via ARGILLA_REDIS_USE_CLUSTER ([#5799](https://github.com/argilla-io/argilla/pull/5799))
22
+
19
23
### Fixed
20
24
21
25
- Fixed error when computing user progress with PostgreSQL database. ([#5795](https://github.com/argilla-io/argilla/pull/5795))
Copy file name to clipboardexpand all lines: argilla/docs/reference/argilla-server/configuration.md
+1
Original file line number
Diff line number
Diff line change
@@ -96,6 +96,7 @@ The following environment variables are useful only when PostgreSQL is used:
96
96
Redis is used by Argilla to store information about jobs to be processed on background. The following environment variables are useful to config how Argilla connects to Redis:
97
97
98
98
-`ARGILLA_REDIS_URL`: A URL string that contains the necessary information to connect to a Redis instance (Default: `redis://localhost:6379/0`).
99
+
-`ARGILLA_REDIS_USE_CLUSTER`: If "True" tries the connection with the URL to a Redis Cluster instead of a Redis Standalone instance.
0 commit comments