EnterpriseDB / barman

Barman - Backup and Recovery Manager for PostgreSQL
https://www.pgbarman.org/
GNU General Public License v3.0
2.06k stars 191 forks source link

Handle malformed or empty config_changes.queue file #913

Closed gcalacoci closed 6 months ago

gcalacoci commented 6 months ago

If for whatever reason (ie: invalid JSON content or empty queue file) The JSON parser throws an exception, emits a warning and continues with an empty list

References: BAR-151

martinmarques commented 6 months ago

I know this is closed, but shouldn't we emit an output message as a warning when the queue file is not found?