(&self, attempt: u32)
| 145 | } |
| 146 | |
| 147 | pub fn to_joining(&self, attempt: u32) { |
| 148 | let detail = format!("joining cluster (attempt {attempt})"); |
| 149 | self.transition(ClusterLifecycleState::Joining { attempt }, &detail); |
| 150 | } |
| 151 | |
| 152 | pub fn to_ready(&self, nodes: usize) { |
| 153 | let detail = format!("ready ({nodes} nodes)"); |