utopia-php / utopia-php/cache

🚀 Feature:

Open
#36 0 comments 0 reactions 0 assignees View on GitHub

Nobody has claimed this yet.

Dominant language
PHP
Stars
33
Forks
23
PR merge metrics
No merged PRs in 30d

Description

🔖 Feature description

support redis cluster

🎤 Pitch

I build a redis cluster env, and setup self-host appwrite, but it throw exception:
[2024-01-01 13:06:27 *1177.0] ERROR php_swoole_server_rshutdown() (ERRNO 503): Fatal error: Uncaught RedisException: MOVED 13128 10.0.14.7:6379 in /usr/src/code/vendor/utopia-php/cache/src/Cache/Adapter/Redis.php:34

when i use redis-cli with -c option, it's ok

👀 Have you spent some time to check if this issue has been raised before?
  • I checked and didn't find similar issue
🏢 Have you read the Code of Conduct?

Contributor guide

No contributing guide indexed for this repository

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Research direction

Start with vendor/utopia-php/cache/src/Cache/Adapter/Redis.php:34, where the reported RedisException occurs, and compare the current adapter behavior with the Redis cluster behavior shown by redis-cli -c. Done means the cache adapter supports the reported Redis cluster setup without the MOVED exception; the issue does not name a test file.

Written by the indexing model from the issue text.

Assessment

Tech stack
php, redis
Domain
database
Issue type
Feature
Difficulty
4/5
Estimated time
3-5 days
Activity status
Stale
Clarity
Needs clarification
Newbie friendliness
35/100

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.