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
We use a Redis Cluster in AWS. After adding Cache::flexibel it fails with a RedisClusterException Error processing EXEC across the cluster (/var/task/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:116).
I'm not sure yet, why that is, but I assume it is caused by the usage of putMany method in the RedisStore.php. This uses transactions by calling multi() and later exec(). It seems that is not supported in clusters.
Steps To Reproduce
User a Redis cluster as cache store. Add a Cache::flexible to a controller and execute it.
The text was updated successfully, but these errors were encountered:
As Laravel is an open source project, we rely on the community to help us diagnose and fix issues as it is not possible to research and fix every issue reported to us via GitHub.
If possible, please make a pull request fixing the issue you have described, along with corresponding tests. All pull requests are promptly reviewed by the Laravel team.
Laravel Version
11.28.1
PHP Version
8.3
Database Driver & Version
No response
Description
We use a Redis Cluster in AWS. After adding Cache::flexibel it fails with a RedisClusterException
Error processing EXEC across the cluster
(/var/task/vendor/laravel/framework/src/Illuminate/Redis/Connections/Connection.php:116
).I'm not sure yet, why that is, but I assume it is caused by the usage of
putMany
method in theRedisStore.php
. This uses transactions by callingmulti()
and laterexec()
. It seems that is not supported in clusters.Steps To Reproduce
User a Redis cluster as cache store. Add a Cache::flexible to a controller and execute it.
The text was updated successfully, but these errors were encountered: