Skip to content

[BUG] In some specific situation, system backup auto deleted when creating another one #6045

Closed
@chriscchien

Description

Describe the bug (🐛 if you encounter this issue)

This is a corner case

While testing system backup volumeBackupPolicy, encountered a strange behavior : after performing some specific operations, a system backup will be deleted if volume backup not appear in backup store. Create this ticket for tracking.

To Reproduce

Steps to reproduce the behavior:

  1. Create 2 system backup sys-back, sys-back2 with volumeBackupPolicy = always
  2. Wait system backup creation complete
  3. Delete volume backups in backup store
  4. Delete sys-back and recreate again
  5. After sys-back complete, sys-back2 deleted automatically.

Expected behavior

System backup should not be deleted when creating a new 1

Log or Support bundle

supportbundle_4b0bd336-cbd1-4239-bce6-627b23e1c9b2_2023-06-02T03-51-36Z.zip

Environment

  • Longhorn version: longhorn-manager 663185

Additional context

#5011
Can not reporduce if system backup name does not contain -

Metadata

Labels

area/data-serviceData service outside volume dataarea/system-backup-restoreLonghorn system backup restorebackport/1.4.3kind/bugpriority/0Must be implement or fixed in this release (managed by PO)reproduce/always100% reproducibleseverity/4Function working but has a minor issue (a minor incident with low impact)

Type

No type

Projects

  • Status

    Closed

Milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions