|Resolved||• schana||T148129 Productization of Recommendation API|
|Resolved||bmansurov||T212156 Recommendation API service returns 404 on DB connection error|
- Mentioned In
- rMSRDbbe6b7aed022: Add MySQL retry config variables
rMSRAc46aefaa3bcf: Retry MySQL query in case of error
rMSRD93c025e709f1: Add MySQL retry config variables
rMSRA5f22bf91547f: Retry MySQL query in case of error
rMSRA7e1e122c94af: Retry MySQL query in case of error
- Mentioned Here
- T209164: Follow RFC7807 for all services error responses
500 with details of what happened would be more appropriate.
I would argue that also setting a retry threshold would be a good idea. Say, retry to connect 2, 3 times before returning the error.