]> review.fuel-infra Code Review - openstack-build/cinder-build.git/commit
Purge deleted rows
authorAbel Lopez <abelopez@cisco.com>
Tue, 13 Jan 2015 02:50:00 +0000 (18:50 -0800)
committerAbel Lopez <abelopez@cisco.com>
Wed, 4 Feb 2015 20:08:55 +0000 (12:08 -0800)
commit7587e194a05f43cb2d654c0287bfdd00dd28302e
tree8ea996b407cc3bf880a6ab1f9a7c78c6e776b68d
parentfadc8334740ac4b98e4755c28fe29b15cc1541bc
Purge deleted rows

Adds the ability to clean up rows that are already marked as
deleted of a certain specified age. Age is calculated as timedelta
from now() in days, which are given at command line

DocImpact
Change-Id: Ia50ab0dc4aa1547a5a6a2430f7941aab194e4baf
Implements: blueprint database-purge
cinder/cmd/manage.py
cinder/db/api.py
cinder/db/sqlalchemy/api.py
cinder/tests/db/test_purge.py [new file with mode: 0644]