Re: LifecycleConfiguration is removing files too soon

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



Hi,


> Do you have " rgw lc debug interval" option set in ceph.conf?            That option represents number of seconds that simulate one           "day" of Lifecycle process. 

Bingo, one RGW had the option "rgw_lc_debug_interval = 10" set. I somehow overlooked that line.
Thanks for the response, testing now. Seems good so far.


--
Richard Hopman
Tuxis, Ede, www.tuxis.nl



 From:   Soumya Koduri <skoduri@xxxxxxxxxx> 
 To:   Richard Hopman <rhopman@xxxxxxxx>, <ceph-users@xxxxxxx> 
 Sent:   11-5-2022 15:05 
 Subject:   Re:  LifecycleConfiguration is removing files too soon 

     
Hi,     

          

          
On 5/11/22 16:26, Richard Hopman wrote:
                 Hi,


we are running a Ceph Nautilus cluster (14.2.22) and have some issues with the lifecycle expiration of files.


When setting a x day expiration on a bucket the file is removed too soon (usually a few seconds for 1 day expiration, up to a few minutes for 3-7 days).
When using a specific expiration date the file gets removed on the correct date.



Does anyone have a clue on what might be the cause of this?          

          
Do you have " rgw lc debug interval" option set in ceph.conf?            That option represents number of seconds that simulate one           "day" of Lifecycle process. 
              

              
Thanks,     
Soumya
                     Below is the rule that is used to set the 1 day expiration.


<LifecycleConfiguration>
  <Rule>
    <ID>id1</ID>
    <Filter>
       <Prefix></Prefix>
    </Filter>
    <Status>Enabled</Status>
    <Expiration>
      <Days>1</Days>
    </Expiration>
  </Rule>
</LifecycleConfiguration>


--
Richard Hopman
Tuxis, Ede, www.tuxis.nl

_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx

          

         
_______________________________________________
ceph-users mailing list -- ceph-users@xxxxxxx
To unsubscribe send an email to ceph-users-leave@xxxxxxx




[Index of Archives]     [Information on CEPH]     [Linux Filesystem Development]     [Ceph Development]     [Ceph Large]     [Ceph Dev]     [Linux USB Development]     [Video for Linux]     [Linux Audio Users]     [Yosemite News]     [Linux Kernel]     [Linux SCSI]     [xfs]


  Powered by Linux