You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
[Feature / Bug]: ERROR: WAL archive check failed for server restore: Expected empty archive #350
IMO if the plugin is disabled and not used as WALArchiver, it should not check for an empty archive but during enabling it should.
But I the plugin would behave like this, what should be the consequence during enabling on an not empty archive?
Shutting it down the cluster is maybe also not an elegant way...
I've read the issue description and the PR which fixes it, and I'm a bit confused. The PR is about correcting the behaviour of the skipEmptyWalArchiveCheck annotation, but that annotation is not used at all in @smiyc 's example.
I can still reproduce the behaviour in this issue in v1.30.0. Even if isWALArchiver is set to false, creation of the cluster fails with "Expected empty archive".
I believe the example in this issue surfaces another bug - or at least, another type of unexpected behaviour. If you create a cluster without barman plugin, and then modify that cluster to have barman plugin, then the .check-empty-wal-archive file has already been deleted before we add the plugin, and the plugin's CheckBackupDestination is never invoked. This happens regardless of what the skipEmptyWalArchiveCheck annotation is set to.
Activity
sxd commentedon Aug 21, 2025
Closing fixed here #457
magnus-longva-bouvet commentedon Jul 3, 2026
I've read the issue description and the PR which fixes it, and I'm a bit confused. The PR is about correcting the behaviour of the
skipEmptyWalArchiveCheckannotation, but that annotation is not used at all in @smiyc 's example.I can still reproduce the behaviour in this issue in v1.30.0. Even if
isWALArchiveris set to false, creation of the cluster fails with "Expected empty archive".I believe the example in this issue surfaces another bug - or at least, another type of unexpected behaviour. If you create a cluster without barman plugin, and then modify that cluster to have barman plugin, then the
.check-empty-wal-archivefile has already been deleted before we add the plugin, and the plugin'sCheckBackupDestinationis never invoked. This happens regardless of what theskipEmptyWalArchiveCheckannotation is set to.