Skip to content
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

Redis : don’t use dbindex if cluster mode #378

Open
ldidry opened this issue Jan 16, 2024 · 0 comments
Open

Redis : don’t use dbindex if cluster mode #378

ldidry opened this issue Jan 16, 2024 · 0 comments

Comments

@ldidry
Copy link

ldidry commented Jan 16, 2024

Hello,

I made a mistake in my configuration and let a dbindex setting for the redis config, but as I am using a Redis cluster, there is no multiple databases so I got this failure:

Failed to setup redis subscription: Redis server refused to switch database- ResponseError
Redis server disconnected, reconnecting in 1s

Nextcloud does not complain as they behave differently between cluster or normal mode (see https://github.com/nextcloud/server/blob/master/lib/private/RedisFactory.php#L79).

I think that notify_push should do the same.

(obviously, I removed the dbindex setting and it works now)

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant