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
The 'redis-store' gem depends on the 'redis' gem.
The 'redis' gem since 5.0 does not support redis clusters. redis clusters are supported by the 'redis-clustering' gem.
$ bundle exec ruby app.rb
/app/vendor/bundle/ruby/3.2.0/gems/redis-5.0.7/lib/redis.rb:136:in `initialize_client': Redis Cluster support was moved to the `redis-clustering` gem. (RuntimeError)
from /app/vendor/bundle/ruby/3.2.0/gems/redis-5.0.7/lib/redis.rb:73:in `initialize'
from /app/vendor/bundle/ruby/3.2.0/gems/redis-store-1.10.0/lib/redis/store.rb:21:in `initialize'
from /app/vendor/bundle/ruby/3.2.0/gems/redis-store-1.10.0/lib/redis/store/factory.rb:27:in `new'
from /app/vendor/bundle/ruby/3.2.0/gems/redis-store-1.10.0/lib/redis/store/factory.rb:27:in `create'
from /app/vendor/bundle/ruby/3.2.0/gems/redis-store-1.10.0/lib/redis/store/factory.rb:10:in `create'
from app.rb:3:in `<main>'
The text was updated successfully, but these errors were encountered:
Would including redis-clustering force the redis-store gem to only support redis v5 gem? That said, what is the maintainer's stance on supporting Redis Cluster funtionalities in redis-store with the separation of redis-clustering from the redis gem?
I will recommend to use native redis-clustering with active_support redis = Redis::Cluster.new(nodes: []) store = ActiveSupport::Cache.lookup_store(:redis_cache_store, { redis: redis })
The 'redis-store' gem depends on the 'redis' gem.
The 'redis' gem since 5.0 does not support redis clusters. redis clusters are supported by the 'redis-clustering' gem.
https://github.com/redis/redis-rb/blob/master/CHANGELOG.md#500
Now I got exception by this code.
exception message
The text was updated successfully, but these errors were encountered: