| commit | a96898dfaf088ac15560d15a7dcaf982c671ac2f | [log] [tgz] |
|---|---|---|
| author | Benjamin Diaz <bdiaz@whitestack.com> | Fri Jan 25 14:30:20 2019 -0300 |
| committer | Benjamin Diaz <bdiaz@whitestack.com> | Fri Feb 01 09:56:15 2019 -0300 |
| tree | 55121451eb6be99cceaf68dd7f63482ba6d664f6 | |
| parent | b77fe26906b4acdf5f2b110f07433382520f44ff [diff] |
Exits process when encountered by a database exception Database errors could mean database node failure. In this cases, the process should exit so it could be automatically restarted (when handled by Docker Swarm, K8s, etc) so it can obtain a new DB connection to an alive node. Change-Id: I42a3954fe238a0445101eb71add79aaef4315c2e Signed-off-by: Benjamin Diaz <bdiaz@whitestack.com>