percona / percona/percona-server-mongodb-operator

backup stuck in "requested" status after it started while another backup was running

Open
#2,007 3 comments 0 reactions 1 assignee View on GitHub

@nmarukovich is already working on this.

Since Sep 12, 2025.

bug unreproducible
Dominant language
Go
Stars
456
Forks
198
Avg merge
5d 19h
Merged PRs (30d)
10

Description

Report

Scheduled backup stuck in "requested" status, following backups stuck in "waiting" status

More about the problem

I'm started manual backup at 14:42 (backup needs ~8 hours to complete) by the CR (kubectl apply -f backup.yaml):

apiVersion: psmdb.percona.com/v1
kind: PerconaServerMongoDBBackup
metadata:
  finalizers:
  - percona.com/delete-backup
  labels:
    ancestor: daily
    cluster: mongo-db-common
    type: cron
  name: cron-mongo-db-c-test
  namespace: mongo-db
spec:
  clusterName: mongo-db-common
  compressionType: zstd
  storageName: minio
  type: logical

after 15 minutes i deleted this CR (kubectl delete -f backup.yaml), and I think what backup-agent did not cancel this backup and scheduled backup (cron at 20:45) start at a time, when backup did not complete yet, and stuck in "requested" state, and follow scheduled backup stuck in "waiting" state

Steps to reproduce
  1. Create cluster mongodb with scheduled backup
  2. Create and run PerconaServerMongoDBBackup test.yaml with starting backup before running a scheduled backup, in less time than it takes to create this backup
  3. Delete PerconaServerMongoDBBackup test.yaml manifest when it in status "Running"
  4. Check new scheduled backup status
Versions
  1. Kubernetes v1.30.13
  2. Operator v1.17.0
  3. Database percona/percona-server-mongodb:6.0.15-12
Anything else?

No response

Contributor guide

Open the contributing guide

First steps

  1. Read the whole issue, then the project's contributing guide.
  2. Comment on the issue to say you are picking it up — it saves two people doing the same work.
  3. Fork the repository and make your change on a branch.
  4. Open a pull request that references the issue number.

Assessment

This issue has not been assessed yet.

Get new issues in your inbox

A short digest of beginner-friendly GitHub issues.