Skip to content

[Bug]: The annotation skipEmptyWalArchiveCheck is not working when recovering a Cluster via Barman Cloud Plugin #457

Closed

Description

Activity

  1. added a commit that references this issue on Aug 4, 2025
    2a10118
  2. dosubot commented on Aug 4, 2025

    @dosubot

    The skipEmptyWalArchiveCheck annotation is supported and intended to bypass the safety check that prevents overwriting existing data in a shared WAL archive bucket during recovery with the Barman Cloud Plugin, but this is strongly discouraged unless you are highly familiar with PostgreSQL recovery, as misuse can cause severe data loss [docs].

    Currently, there is a confirmed bug where this annotation does not work as expected during cluster recovery with the Barman Cloud Plugin, causing the cluster to fail with an error about expecting an empty archive even when the annotation is set. This issue is tracked and addressed in an open pull request in the cloudnative-pg repository, but the fix has not yet been merged as of the latest update [PR #8216].

    Some users have reported temporary workarounds, such as commenting out the plugin configuration or ensuring the plugin is enabled as WALArchiver, but these may not be suitable for all scenarios and should be used with caution [issue].

    Keep an eye on the status of the PR and plan to upgrade once the fix is released. Use the annotation only if you fully understand the risks involved.

    To reply, just mention @dosu.


    Share context across your team and agents. Try Dosu.

    Leave Feedback Learn about plugin-barman-cloud with Dosu Add Dosu to your team

  3. added a commit that references this issue on Aug 5, 2025
    46d4d46
  4. added a commit that references this issue on Aug 6, 2025
    950364b
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    bugSomething isn't working

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions