account reaper need a configurable time delay added

Bug #682919 reported by Jay Payne
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
OpenStack Object Storage (swift)
Invalid
Low
Jay Payne

Bug Description

A configurable time delay needs to be added to the account reaper.

Setting should be in minutes.

Suggest setting the default to 1 week

Tags: account auth
Jay Payne (letterj)
Changed in swift:
assignee: nobody → Jay Payne (letterj)
Revision history for this message
clayg (clay-gerrard) wrote :
tags: added: account auth
Revision history for this message
Jay Payne (letterj) wrote :

While I would rather use minutes it looks like seconds would be less confusing for operations.

Revision history for this message
Jay Payne (letterj) wrote :

Several things have been discussed related to this:

An account should only be "reaped" if the put_timestamp < delete_timestamp
Remove the status field from the account_stats table in the account db
    Need to look at the account_stats script to make sure it works on put_timestamp > delete_timestamp instead of the status field

Verify the deleted_timestamp is replicated in the account-replicator

create a utility that will live in the bin director to "undelete" an account by sending a PUT to an account server directly. This update the put_timestamp.

Revision history for this message
clayg (clay-gerrard) wrote : RE: [Bug 682919] Re: account reaper need a configurable time delay added

That all looks really good, thanks again for capturing all that stuff.

The only other thing I mentioned was this other open bug for the account-reaper:
https://bugs.launchpad.net/swift/+bug/644075

Clay Gerrard
Software Developer
Cloud Files
Rackspace Hosting
Office: 210.312-3443
Mobile: 210.788-9431

-----Original Message-----
From: <email address hidden> [mailto:<email address hidden>] On Behalf Of Jay Payne
Sent: Wednesday, December 08, 2010 2:27 PM
To: Clay Gerrard
Subject: [Bug 682919] Re: account reaper need a configurable time delay added

Several things have been discussed related to this:

An account should only be "reaped" if the put_timestamp < delete_timestamp
Remove the status field from the account_stats table in the account db
    Need to look at the account_stats script to make sure it works on put_timestamp > delete_timestamp instead of the status field

Verify the deleted_timestamp is replicated in the account-replicator

create a utility that will live in the bin director to "undelete" an
account by sending a PUT to an account server directly. This update the
put_timestamp.

--
You received this bug notification because you are a member of Swift Bug
Team, which is subscribed to OpenStack Object Storage (swift).
https://bugs.launchpad.net/bugs/682919

Title:
  account reaper need a configurable time delay added

Status in OpenStack Object Storage (Swift):
  New

Bug description:
  A configurable time delay needs to be added to the account reaper.

Setting should be in minutes.

Suggest setting the default to 1 week

Confidentiality Notice: This e-mail message (including any attached or
embedded documents) is intended for the exclusive and confidential use of the
individual or entity to which this message is addressed, and unless otherwise
expressly indicated, is confidential and privileged information of Rackspace.
Any dissemination, distribution or copying of the enclosed material is prohibited.
If you receive this transmission in error, please notify us immediately by e-mail
at <email address hidden>, and delete the original message.
Your cooperation is appreciated.

Changed in swift:
status: New → Confirmed
importance: Undecided → Low
Revision history for this message
Greg Lange (greglange) wrote :

It looks like this has already been done.

There is a 'delay_reaping' config value for the account reaper.

So, I'm closing this one.

Changed in swift:
status: Confirmed → Invalid
To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.