Skip to content

DataProtection records post-ready errors on the prepare-data stage #10617

Description

@weicao

In controllers/dataprotection/restore_controller.go, the post-ready reconcile path calls handleRestoreStageError with PrepareData when reconcileRestoreAction returns an error. This writes the failure condition to the wrong restore stage.

Expected behavior: post-ready action errors update the PostReady stage condition. Add a focused regression test that distinguishes the two stage condition types.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions