Hi Holger,
Il 14/09/13 13:31, Holger Amann ha scritto:
I think you have been hit by the bug described at
https://sourceforge.net/p/pgbarman/tickets/27/ . In releases before
1.2.3 there was a problem in our locking mechanism that can, under some
circumstances, lead to a corruption of xlog.db
I've been able to reproduce an error matching the description using
barman version 1.2.0 and issuing a long lasting "barman delete" command
while the lock was held by a "barman cron" run.
The bug has been corrected in barman 1.2.3 release and should not happen
again.
To fix the corrupted xlog.db file, given that it is not used during
recovery, the first option is to ignore the missing three lines until
the base backup 20130819T080002 will be old enough to be deleted. After
its deletion you can safely remove the remaining three WAL files.
Alternately you can temporarily disable the "sauspiel" server and edit
the xlog.db file. Only remember that editing that file is not safe if
barman has any chance to modify it. The fastest way to avoid it is
commenting out the server from the active configuration file.
Thanks for the report,
Marco
--
Marco Nenciarini - 2ndQuadrant Italy
PostgreSQL Training, Services and Support
marco.ne...@2ndQuadrant.it |
www.2ndQuadrant.it