We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
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-cluster 依然部分可用.
在 redis cluster 中打开: cluster-require-full-coverage yes
cluster-require-full-coverage yes
默认配置下,且该 master 有数据,如果都挂了 cluster 会 down 掉。 如果上面的配置置为 no 就不会 down 了, 打到挂掉的 master 的请求都会失败。 尽管 redis 不会 down 掉了,但是 redis-cerberus 还是会返回 cluster down。 redis-cerberus 在代码里面直接 hardcode 了如果没有 16384 个 slot 直接返回 cluster down。
别 hardcode 了, 然后也支持下挂掉节点没有数据的时候依然能够 work.
The text was updated successfully, but these errors were encountered:
cc @maralla
Sorry, something went wrong.
No branches or pull requests
场景
主从同时挂掉, 要求 redis-cluster 依然部分可用.
对策
在 redis cluster 中打开:
cluster-require-full-coverage yes
问题
默认配置下,且该 master 有数据,如果都挂了 cluster 会 down 掉。 如果上面的配置置为 no 就不会 down 了, 打到挂掉的 master 的请求都会失败。 尽管 redis 不会 down 掉了,但是 redis-cerberus 还是会返回 cluster down。 redis-cerberus 在代码里面直接 hardcode 了如果没有 16384 个 slot 直接返回 cluster down。
需求....
别 hardcode 了, 然后也支持下挂掉节点没有数据的时候依然能够 work.
The text was updated successfully, but these errors were encountered: