You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
returnfmt.Errorf("node is bootstrapped but hostID is nil, this should never happen")
217
-
}
218
-
219
-
// Node is restarting, other nodes are going to consider it down.
220
-
// FIXME: we should add it to ignored nodes instead if we want to support blocking the rolling restart.
221
-
klog.V(2).InfoS("Node has already been bootstrapped, assuming it's being rolling restarted. Skipping.", "Service", naming.ManualRef(o.Namespace, o.ServiceName), "Bootstrapped", o.bootstrapped, "HostID", o.hostID)
203
+
klog.V(2).InfoS("Node has already been bootstrapped, assuming it's being rolling restarted. Skipping.", "Service", naming.ManualRef(o.Namespace, o.ServiceName), "Bootstrapped", o.bootstrapped)
returnfmt.Errorf("service %q has an empty %q label, this should never happen", naming.ManualRef(o.Namespace, o.ServiceName), naming.ReplacingNodeHostIDLabel)
236
-
}
237
-
238
-
iflen(replacingHostID) >0 {
239
-
klog.V(2).InfoS("Node is replacing another node", "Service", naming.ManualRef(o.Namespace, o.ServiceName), "Bootstrapped", o.bootstrapped, "HostID", o.hostID, "ReplacingHostID", replacingHostID)
240
-
ignoredNodes.Insert(replacingHostID)
241
-
}
242
-
//
243
-
244
-
// ALTERNATIVE: instead of getting the configmap with statuses, this is where we could ask all other nodes for their statuses (by using broadcastAddresses from corresponding services/pods)
returnprogressingConditions, nil, fmt.Errorf("can't get node cluster statuses for ScyllaDBCluster %q Datacenter %q remote member services: %w", naming.ObjRef(sc), dc.Name, err)
1569
+
returnprogressingConditions, nil, fmt.Errorf("can't get cluster status for ScyllaDBCluster %q Datacenter %q remote member services: %w", naming.ObjRef(sc), dc.Name, err)
0 commit comments