We have updated our Terms of Service, Code of Conduct, and Addendum.

What happens during a restart and is the restart done in a rolling fashion?

I'm reading https://docs.cribl.io/stream/configuration-files#section-configurations-and-restart and can't seem to figure out much on what happens during a reload. Is it done in a rolling fashion and if a reload does interrupt data flow?

Answers

  • David Maislin
    David Maislin Posts: 230 mod

    ```During a restart, to minimize ingestion disruption and increase availability of network ports, Worker Processes on a Worker Node are restarted in a rolling fashion. 20% of running processes – with a minimum of one process – are restarted at a time. A Worker Process must come up and report as started before the next one is restarted. This rolling restart continues until all processes have restarted. If a Worker Process fails to restart, configurations will be rolled back.```

  • But I'm asking about a `reload` . How does it differ?

  • Brendan Dalpe
    Brendan Dalpe Posts: 201 mod

    A `reload` sends the `SIGHUP` signal to the worker processes. Processes reload their configs immediately. There is no interruption to the data flow as no sockets have to be closed/opened.