-
Notifications
You must be signed in to change notification settings - Fork 24.4k
Gossip forgotten nodes on CLUSTER FORGET
#10869
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
Conversation
madolson
left a comment
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Generally LGTM. This will be sequenced after @PingXie Cr once we start merging 7.2 stuff.
CLUSTER FORGET
|
@redis/core-team The major change here is that |
|
LGTM on high level. I understand redis-cli still sends that command to all nodes (and we can probably never change that), so is this change just to resolve a race condition (mentioned in the related issue?). while on that topic, considering that it's gonna take a long time before we actually release it, i wanna propose a new guideline: WDYT? |
|
@oranagra Since you are the one that is generating the release notes most of the time, I'm happy to follow/enforce that. |
|
@zuiderkwast do you want to rebase? |
|
tests sporadically failed on ARM + TLS |
Any idea why and what we can do about it? Shall we increase the time to wait to reach a consistent cluster state? |
|
Increasing the timing seems like one such option, we can see if it helps. An immediate change is we should probably print out the delta. |
|
i see it's usually fast, so i suppose increase the time won't help much |
|
It might be a failover causing some havoc? I have seen that happening on some of the other ARM tests. We should also probably clean up the logging a bit, it's hard to follow. |
Gossip the cluster node blacklist in ping and pong messages. This means that CLUSTER FORGET doesn't need to be sent to all nodes in a cluster. It can be sent to one or more nodes and then be propagated to the rest of them. For each blacklisted node, its node id and its remaining blacklist TTL is gossiped in a cluster bus ping extension (introduced in redis#9530).
Update CLUSTER FORGET docs for changes in redis/redis#10869
Update CLUSTER FORGET docs for changes in redis#10869 Docs PR: https://github.com/redis/docs/pull/1057/files
* Update forget docs for ban-list propagation Update CLUSTER FORGET docs for changes in redis/redis#10869 * Update content/commands/cluster-forget/index.md Co-authored-by: David Dougherty <david.dougherty@redis.com> --------- Co-authored-by: David Dougherty <david.dougherty@redis.com>
Update CLUSTER FORGET docs for changes in #10869 Docs PR: redis/docs#1057 --------- Co-authored-by: debing.sun <debing.sun@redis.com>
Update CLUSTER FORGET docs for changes in redis#10869 Docs PR: redis/docs#1057 --------- Co-authored-by: debing.sun <debing.sun@redis.com>
Gossip the cluster node blacklist in ping and pong messages. This means that CLUSTER FORGET doesn't need to be sent to all nodes in a cluster. It can be sent to one or more nodes and then be propagated to the rest of them.
For each blacklisted node, its node id and its remaining blacklist TTL is gossiped in a cluster bus ping extension (introduced in #9530).
Fixes #10861.