Project

General

Profile

Bug #62983

Updated by Matan Breizman 8 months ago

purged_snap_ keys stored in the monitor for each snapshots removed. 
 The keys are merged on contiguous snap id intervals. See OSDMonitor::insert_purged_snap_update(). 

 The issue is that unlike pool snapshots, self-managed snapshots allocates snap id when requesting new snapid from the monitor. This snapid is not tracked by RBD and won't be marked as purged. Those untracked ids will leave holes and won't allow adjacent purged ids to merge. 
 
 
 This can cause the monitor db to grow large and affect the monitor's startup times. 

 Reported: https://lists.ceph.io/hyperkitty/list/dev@ceph.io/message/UOJG46YXTIPOXJUSELIN42ATAD5FPMDY/

Back