-
Notifications
You must be signed in to change notification settings - Fork 184
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
support redis sentinel #5645
Comments
@butonic The current implementation doesn't look finished. https://github.com/search?q=repo%3Aowncloud%2Focis%20%20%27redis&type=code and
show some discrepancies. When I run storage-users and gateway with redis sentinel, I have stacktraces in the gateway service |
I was missing the master name in my setup. `OCIS_CACHE_STORE_ADDRESS: redis.ocis-redis.svc.cluster.local:26379/mymaster" is working now. @aduffeck will care for the missing "redis-sentinel" documentation option in the gateway service 👍 |
@butonic The REVA ocs service als has a cache, that supports Redis but no Redis Sentinel: Is that a cache one should use in a distributed setup? If so we should also allow Redis Sentinal there. |
The ocs cache defaults to an in memory cache with a TTL of 0. We should allow urgh but it is not implemented with a go micro store interface but reva/pkg/cache In the gateway and storage providers we are using the go micro store, but it cannot get multiple keys with a single request. I haven't found a good way to request multiple keys with the micro api, yet. |
related: cs3org/reva#3742 |
I could use redis-sentinal, so I'm closing this, because looks fulfilled |
Is your feature request related to a problem? Please describe.
I'd like to use Redis sentinel as a cache.
Describe the solution you'd like
oCIS must allow the admin to configure the Mastername Option in Reva:
Background see: https://github.com/redis/go-redis/blob/6ec458549ed0808ec57c303df9c922aba9520e14/universal.go#L214-L219
Describe alternatives you've considered
Additional context
#5137 -> cache down, means oCIS dead. Therfore I need a way to provide a HA Redis like with sentinel.
The text was updated successfully, but these errors were encountered: