Closed fgalan closed 3 years ago
I thought it actually exited, after a number of retries ...
If not, then I'd propose to let it try at least 3 times before giving up
I think the retry times are fine (100 >> 3 :)). Is the action when the retrial fails which needs to be changed.
It is actually implemented, see https://github.com/telefonicaid/fiware-orion/pull/3806#issuecomment-817585683.
Missing entry added to CNR in PR https://github.com/telefonicaid/fiware-orion/pull/3833
Currently, when Orion is not able to connect to DB at startup this is shown in logs:
which is fine but, in addition, Orion shoul stop working. It is pointless to have running a process that is not able of doing any operations (in fact, the listening port of the Orion API is not working in this situation). Better to stop, so monitoring tools (like monit, etc.) can detect the situation and alarm properly.
In fact, ERROR -> FATAL in the log trace