Skip to content

Conversation

@WentingWu666666
Copy link
Collaborator

No description provided.

Signed-off-by: wenting <wentingwu@microsoft.com>
Signed-off-by: wenting <wentingwu@microsoft.com>
+
Signed-off-by: wenting <wentingwu@microsoft.com>
@WentingWu666666 WentingWu666666 force-pushed the users/wentingwu/multi-region-backup-2 branch from fcc4575 to bf52fb6 Compare November 7, 2025 19:13
Signed-off-by: wenting <wentingwu@microsoft.com>
@WentingWu666666 WentingWu666666 self-assigned this Nov 7, 2025
@WentingWu666666 WentingWu666666 mentioned this pull request Nov 7, 2025
// IsDone returns true if the backup operation is completed or failed.
func (backupStatus *BackupStatus) IsDone() bool {
return backupStatus.Phase == cnpgv1.BackupPhaseCompleted || backupStatus.Phase == cnpgv1.BackupPhaseFailed
return backupStatus.Phase == cnpgv1.BackupPhaseCompleted || backupStatus.Phase == cnpgv1.BackupPhaseFailed || backupStatus.Phase == BackupPhaseSkipped
Copy link
Collaborator

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I believe it will work fine with new initial state. Still, did we verify double backup? Like we finished a backup five minutes ago with status completed, then trigger another backup? It should take second backup.

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

3 participants