Project

General

Profile

Bug #62983

Updated by Matan Breizman 8 months ago

purged_snap_ keys stored in the monitor for each snapshots removed. removed are never trimmed or compressed. 
 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. 
 
 This can cause the long 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