Skip to content
This repository has been archived by the owner on Jan 4, 2023. It is now read-only.

IS-1082: close db gracefully when node terminate abnormally #46

Merged

Conversation

inwonkim
Copy link
Member

Add signal Handler so that close DBs and connection gracefully when get SIGINT or SIGTERM signal

@inwonkim inwonkim requested a review from eunsoo-icon May 13, 2020 08:03
…nal.

* Rename Rollback struct to CancelCalculation.
* use CancelCalculation in case rollback, exiting process
core/msg.go Outdated Show resolved Hide resolved
core/msg_calculate.go Outdated Show resolved Hide resolved
inwonkim added 3 commits May 15, 2020 17:38
@inwonkim inwonkim merged commit 0339d5d into develop May 18, 2020
@eunsoo-icon eunsoo-icon deleted the IS-1082-close-db-gracefully-when-node-terminate-abnormally branch June 23, 2020 13:09
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants