mirror of
https://github.com/scylladb/scylladb.git
synced 2026-05-31 20:16:43 +00:00
storage_service: Add extra check in notify_joined
Do not send node joined event if node is not in NORMAL status which means the node has joined the cluster officially.
This commit is contained in:
@@ -3291,6 +3291,10 @@ void storage_service::notify_up(inet_address endpoint)
|
||||
|
||||
void storage_service::notify_joined(inet_address endpoint)
|
||||
{
|
||||
if (!gms::get_local_gossiper().is_normal(endpoint)) {
|
||||
return;
|
||||
}
|
||||
|
||||
get_storage_service().invoke_on_all([endpoint] (auto&& ss) {
|
||||
for (auto&& subscriber : ss._lifecycle_subscribers) {
|
||||
try {
|
||||
|
||||
Reference in New Issue
Block a user