]> git.apps.os.sepia.ceph.com Git - ceph.git/commit
qa: adjust for old snapshot counts during comparison 45906/head
authorVenky Shankar <vshankar@redhat.com>
Sat, 16 Apr 2022 15:24:44 +0000 (20:54 +0530)
committerVenky Shankar <vshankar@redhat.com>
Mon, 18 Apr 2022 06:20:11 +0000 (11:50 +0530)
commit50281e0169bd08480cd767dca41daf02e2b73d1f
tree1107b6190a33f6b8d7e769ba24ff516610c88b1b
parent9e56c668df8659105e291da8947e7aa2c3615643
qa: adjust for old snapshot counts during comparison

This is pacific only commit since in master, the snap-schedule module
uses vfs-ceph backed libcephsqlite which seems to preserve the
snapshots stats (created_count, etc..) on ceph-mgr restarts. Pacific
uses in-memory db (serialized to a RADOS object) which seems to
reset these stats when ceph-mgr is restarted.

Also, remove `db_count' assert check as it doesn't make sense.

Signed-off-by: Venky Shankar <vshankar@redhat.com>
qa/tasks/cephfs/test_snap_schedules.py