On spawn_clickhouse_inserter and spawn_clickhouse_backup macros the main loop stops being polled abruptly when the shutdown signal is signaled.
This means 2 important things:
- We don't finish reading the final messages on our channels.
- We could have consistency problems since we could be stopping in the middle of the loop (on an await boundary).
On spawn_clickhouse_inserter and spawn_clickhouse_backup macros the main loop stops being polled abruptly when the shutdown signal is signaled.
This means 2 important things: