Releases: film42/pgreba
Releases · film42/pgreba
Bugs
Bug fixes
Support Postgres 13
Support multi hop
Previously, pgreba has been limited to health checking replicas only 1 hop from the primary. Now you can configure to health check replicas n number of hops by setting max_hop
value in the yaml config file.
Allow pgreba to start when postgres is down
No longer creating a db connection in initialization. This allows pgreba to start even when postgres is down or when a db service hasn't started yet, and for pgreba to run properly when it does come back up.
Measure byte lag using replay lag
We were measuring receive lsn and now we're measuring replay lsn.
Cached data source, db pool timeout added, and bug fix
Improvements
- Added cached data source to reduce number of connections opened to the database
- Fixes "broken pipe" issue by adding a pool connection timeout
Bugfix
- No more lingering replica db pool connection left open.
PRs
Optional max_allowable_byte_lag param
Configure max_allowable_byte_lag with query param like so:
GET /replica?max_allowable_byte_lag=12344