|
189 | 189 |
|
190 | 190 | -rabbit_boot_step({routing_ready, |
191 | 191 | [{description, "message delivery logic ready"}, |
192 | | - {requires, core_initialized}]}). |
193 | | - |
194 | | --rabbit_boot_step({direct_client, |
195 | | - [{description, "direct client"}, |
196 | | - {mfa, {rabbit_direct, boot, []}}, |
197 | | - {requires, routing_ready}]}). |
| 192 | + {requires, [core_initialized, recovery]}]}). |
198 | 193 |
|
199 | 194 | -rabbit_boot_step({connection_tracking, |
200 | | - [{description, "sets up internal storage for node-local connections"}, |
| 195 | + [{description, "connection tracking infrastructure"}, |
201 | 196 | {mfa, {rabbit_connection_tracking, boot, []}}, |
202 | | - {requires, routing_ready}]}). |
203 | | - |
204 | | --rabbit_boot_step({networking, |
205 | | - [{mfa, {rabbit_networking, boot, []}}, |
206 | | - {requires, routing_ready}]}). |
207 | | - |
208 | | --rabbit_boot_step({notify_cluster, |
209 | | - [{description, "notify cluster nodes"}, |
210 | | - {mfa, {rabbit_node_monitor, notify_node_up, []}}, |
211 | | - {requires, networking}]}). |
| 197 | + {enables, routing_ready}]}). |
212 | 198 |
|
213 | 199 | -rabbit_boot_step({background_gc, |
214 | 200 | [{description, "background garbage collection"}, |
215 | 201 | {mfa, {rabbit_sup, start_restartable_child, |
216 | 202 | [background_gc]}}, |
217 | | - {enables, networking}]}). |
| 203 | + {requires, [core_initialized, recovery]}, |
| 204 | + {enables, routing_ready}]}). |
218 | 205 |
|
219 | 206 | -rabbit_boot_step({rabbit_core_metrics_gc, |
220 | 207 | [{description, "background core metrics garbage collection"}, |
221 | 208 | {mfa, {rabbit_sup, start_restartable_child, |
222 | 209 | [rabbit_core_metrics_gc]}}, |
223 | | - {enables, networking}]}). |
| 210 | + {requires, [core_initialized, recovery]}, |
| 211 | + {enables, routing_ready}]}). |
224 | 212 |
|
225 | 213 | -rabbit_boot_step({rabbit_looking_glass, |
226 | 214 | [{description, "Looking Glass tracer and profiler"}, |
227 | 215 | {mfa, {rabbit_looking_glass, boot, []}}, |
228 | | - {requires, networking}]}). |
| 216 | + {requires, [core_initialized, recovery]}, |
| 217 | + {enables, routing_ready}]}). |
| 218 | + |
| 219 | +-rabbit_boot_step({pre_flight, |
| 220 | + [{description, "ready to communicate with peers and clients"}, |
| 221 | + {requires, [core_initialized, recovery, routing_ready]}]}). |
| 222 | + |
| 223 | +-rabbit_boot_step({direct_client, |
| 224 | + [{description, "direct client"}, |
| 225 | + {mfa, {rabbit_direct, boot, []}}, |
| 226 | + {requires, pre_flight} |
| 227 | + ]}). |
| 228 | + |
| 229 | +-rabbit_boot_step({notify_cluster, |
| 230 | + [{description, "notifies cluster peers of our presence"}, |
| 231 | + {mfa, {rabbit_node_monitor, notify_node_up, []}}, |
| 232 | + {requires, pre_flight}]}). |
| 233 | + |
| 234 | +-rabbit_boot_step({networking, |
| 235 | + [{description, "TCP and TLS listeners"}, |
| 236 | + {mfa, {rabbit_networking, boot, []}}, |
| 237 | + {requires, notify_cluster}]}). |
229 | 238 |
|
230 | 239 | %%--------------------------------------------------------------------------- |
231 | 240 |
|
|
0 commit comments