Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Add TERM signal trap to Redis-ha fix-split-brain.sh to prevent infini…
…te loop and gracefully exit (#271) When a pod is deleted by commandline or the whole cluster is going down via helm uninstall command fix-split-brain.sh container will not gracefully exit and goes into an infinite loop and will not be stopped until terminationGracePeriodSeconds timeouts. In this commit a TERM signal trap is added to prevent such a infinite loop and gracefully exit fix-split-brain.sh Signed-off-by: Seyyed Mojtaba Rezvani <[email protected]>
- Loading branch information