Bug 117 - should be more tolerant of PostgreSQL connection issues
Summary: should be more tolerant of PostgreSQL connection issues
Status: NEW
Alias: None
Product: repro
Classification: Unclassified
Component: proxy (show other bugs)
Version: unspecified
Hardware: All All
: P1 enhancement
Assignee: Owner of all unassigned bugs
Depends on:
Reported: 2015-11-20 05:09 CST by Daniel Pocock
Modified: 2015-11-20 05:09 CST (History)
0 users

See Also:


Note You need to log in before you can comment on or make changes to this bug.
Description Daniel Pocock 2015-11-20 05:09:55 CST
When the server is booting, repro may be started while PostgreSQL is still initializing.

It fails with an error like this:

PostgreSqlDb.cxx:173 | PostgreSQL connect failed: FATAL:  the database system is starting up

It needs to be more tolerant of connection (and reconnection) issues and operate sensibly during temporary PostgreSQL unavailability.

In case of hard errors (e.g. an invalid PostgreSQL hostname) it is probably OK to just stop the repro process completely as it does now.