OpenStack Storage (Swift)
Go to file
Peter Portante 176e41a309 Fix handling of DELETE obj reqs with old timestamp
The DELETE object REST API was creating tombstone files with old
timestamps, potentially filling up the disk, as well as sending
container updates.

Here we now make DELETEs with a request timestamp return a 409 (HTTP
Conflict) if a data file exists with a newer timestamp, only creating
tombstones if they have a newer timestamp.

The key fix is to actually read the timestamp metadata from an
existing tombstone file (thanks to Pete Zaitcev for catching this),
and then only create tombstone files with newer timestamps.

We also prevent PUT and POST operations using old timestamps as well.

Change-Id: I631957029d17c6578bca5779367df5144ba01fc9
Signed-off-by: Peter Portante <peter.portante@redhat.com>
2013-08-07 17:09:15 +02:00
bin Misc. swift-bench improvements. 2012-08-27 20:25:44 +00:00
doc added disable_fallocate info to docs 2012-09-12 11:12:46 -07:00
etc Upating proxy-server StatsD logging. 2012-08-29 16:08:30 -07:00
locale Reverted the pulling out of various middleware: 2012-05-16 21:25:10 +00:00
swift Fix handling of DELETE obj reqs with old timestamp 2013-08-07 17:09:15 +02:00
test Fix handling of DELETE obj reqs with old timestamp 2013-08-07 17:09:15 +02:00
tools Use pypi for python-swiftclient dependency. 2013-01-28 11:28:41 +01:00
.coveragerc Align tox.ini and fix coverage jobs in jenkins. 2012-06-08 20:05:14 -04:00
.functests make test runner functions return the status of running the tests 2012-04-18 15:13:09 +03:00
.gitignore Add support for venv-based test run with tox. 2012-03-07 22:44:34 -08:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 15:05:49 -04:00
.mailmap changelog and authors updates for 1.7 release 2012-09-04 08:36:55 -07:00
.probetests make test runner functions return the status of running the tests 2012-04-18 15:13:09 +03:00
.unittests make test runner functions return the status of running the tests 2012-04-18 15:13:09 +03:00
AUTHORS changelog and authors updates for 1.7 release 2012-09-04 08:36:55 -07:00
CHANGELOG Restore old SIGPIPE handler in a proxy server test. 2012-09-25 14:33:45 -07:00
LICENSE Initial commit of Swift code 2010-07-12 17:03:45 -05:00
MANIFEST.in Adding missing files in generated tarballs 2012-05-30 15:39:37 +02:00
README Split out the SAIO doc and fixed a typo in the README 2010-10-20 10:32:03 -05:00
babel.cfg add pybabel setup.py commands and initial .pot 2011-01-27 00:01:24 +00:00
setup.cfg Align tox.ini and fix coverage jobs in jenkins. 2012-06-08 20:05:14 -04:00
setup.py Move swift_auth middleware from keystone to swift. 2012-07-05 14:36:14 -04:00
tox.ini Align tox.ini and fix coverage jobs in jenkins. 2012-06-08 20:05:14 -04:00

README

Swift
-----

A distributed object store that was originally developed as the basis for 
Rackspace's Cloud Files.

To build documentation run `python setup.py build_sphinx`, and then browse to
/doc/build/html/index.html.

The best place to get started is the "SAIO - Swift All In One", which will walk
you through setting up a development cluster of Swift in a VM.

For more information, visit us at http://launchpad.net/swift, or come hang out
on our IRC channel, #openstack on freenode.

--
Swift Development Team