]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
snap-schedule: count retained snapshots per retention policy
authorJan Fajerski <jfajersk@redhat.com>
Mon, 23 Aug 2021 13:15:21 +0000 (15:15 +0200)
committerJan Fajerski <jfajersk@redhat.com>
Tue, 24 Aug 2021 10:33:34 +0000 (12:33 +0200)
commit853d97bbae0c4082b7d6fda7e191df7c246db10f
tree353835db54c22f10c6d715c4d7e13a22e6bd0551
parent740122f546be0d5229154cf500dcc3d0dc8a6b33
snap-schedule: count retained snapshots per retention policy

Before this commit the length of the already-retained snapshots
terminated the loop. This fails when muliple retention policies are set.

Fixes: https://tracker.ceph.com/issues/52388
Signed-off-by: Jan Fajerski <jfajersk@redhat.com>
src/pybind/mgr/snap_schedule/fs/schedule_client.py