I’m currently looking into what happens if Consul is reloaded with a config file that is partially invalid. For example, what if the config contains a local script check, but
From looking at
Agent.ReloadConfig it seems like the agent would bail out with an error message, and continue operating with partial configuration instead of rolling back to the previous, known-good one. So depending on where the error occurs, some services might be de-registered, some health checks missing, etc.
Is this correct or am I missing something?