Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

[Q] Kill signal for graceful stop by flushing to Whisper files? #550

Open
isavcic opened this issue Mar 8, 2023 · 1 comment
Open

[Q] Kill signal for graceful stop by flushing to Whisper files? #550

isavcic opened this issue Mar 8, 2023 · 1 comment
Labels

Comments

@isavcic
Copy link

isavcic commented Mar 8, 2023

Hello,

What signal should be sent to the go-carbon process in order to gracefully stop it by flushing the cache to the Whisper files?

By searching through the code I found only this, but that covers only the config reloads and graceful stop by flushing to a dump file.

Thanks!

@deniszh
Copy link
Member

deniszh commented Mar 8, 2023

Hi @isavcic

I think that's logic not currently implemented. I can be wrong, but I think it's design choice - flushing cache can take big amount of time, so, for sake of restart it's much faster to dump cache to file and load it back after restart.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
None yet
Development

No branches or pull requests

2 participants