go-graphite / carbon-clickhouse

Graphite metrics receiver with ClickHouse as storage
MIT License
187 stars 47 forks source link

Carbon-clickhouse Reload or soft reboot #142

Open syatihoko opened 5 months ago

syatihoko commented 5 months ago

Hello. The essence of the need is that I clean up non-daily metrics indexes (table tree or part of new table index). After that, I noticed that some of the new metrics do not appear again today, only next day (probably due to the application cache). Rebooting the service helps. But there is a possibility of losing metrics. If it were possible to reset the cache (if this is the problem) or first turn off the port, add data to clickhouse-server and then turn off the service completely, then this would probably be correct.

msaf1980 commented 4 months ago

If it were possible to reset the cache - reset cache with signal can solve a problem. But first turn off the port, add data to clickhouse-server and then turn off the service completely - why you need to turn off service ? Data can be added in clickhouse database without turn off.