Fix backup and PITR routines alignment algorithm to avoid backup failure

Description

How to Repeat

  • Setup 3 servers replica set with the default configuration: no hidden or delayed nodes

  • Setup PBM

  • Run snapshot backups every hour

  • Run pbm status and notice that some backups failed with "Backup has no data for the config server or sole replicaset"

Table pbmBackups contains something like:

{ "_id" : ObjectId("6127f38ba471bc9d20b4218c"), "opid" : "6127f2c1212aa6bbe02e55aa", "name" : "2021-08-26T20:00:01Z", "replsets" : [ ], ...

For successful backups "replsets" is not empty.

Environment

None

AFFECTED CS IDs

CS0019129

Smart Checklist

Activity

Done

Details

Assignee

Reporter

Time tracking

3d 4h logged

Fix versions

Affects versions

Priority

Smart Checklist

Created August 27, 2021 at 2:36 PM
Updated March 5, 2024 at 7:01 PM
Resolved October 22, 2021 at 2:13 PM

Flag notifications