OpenStack Storage (Swift)
Go to file
Samuel Merritt 7fe0c6c695 Fix rebalancing when 2+ of a partition's replicas are on deleted devices.
RingBuilder._reassign_parts assumed that only replica for a given
partition would move. This isn't necessarily true in the case where a
bunch of devices have been removed. This would leave invalid entries
in _replica2part2dev and also cause validation to fail.

One easy way to reproduce this is to create a 3-replica, 3-zone,
6-device ring with 2 drives per zone (all of equal weight), rebalance,
and then remove one drive from each zone and rebalance again.

Bug: 943493

Change-Id: I0d399bed5d733448ad877fa2823b542777d385a4
2012-02-29 11:30:08 -08:00
bin Blueprint cli-auth: common cli args 2012-02-08 15:06:40 -06:00
doc Merge "added account_autocreate = true to example proxy config" 2012-02-28 21:28:33 +00:00
etc TempURL and FormPost Middleware 2012-01-10 21:57:52 +00:00
locale add pybabel setup.py commands and initial .pot 2011-01-27 00:01:24 +00:00
swift Fix rebalancing when 2+ of a partition's replicas are on deleted devices. 2012-02-29 11:30:08 -08:00
test Fix rebalancing when 2+ of a partition's replicas are on deleted devices. 2012-02-29 11:30:08 -08:00
.functests Allow to pass arguments to nosetest. 2012-02-02 19:47:39 +01:00
.gitignore Updating changelog for 1.4.3 2011-09-07 21:55:40 +00:00
.gitreview Add .gitreview config file for gerrit. 2011-10-24 15:05:49 -04:00
.probetests Initial commit of Swift code 2010-07-12 17:03:45 -05:00
.unittests Allow to pass arguments to nosetest. 2012-02-02 19:47:39 +01:00
AUTHORS Fix rebalancing when 2+ of a partition's replicas are on deleted devices. 2012-02-29 11:30:08 -08:00
CHANGELOG updated changelog for 1.4.6 2012-02-08 15:13:13 -06:00
LICENSE Initial commit of Swift code 2010-07-12 17:03:45 -05:00
MANIFEST.in Add missing files in tarball 2012-01-12 10:41:14 +01: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 add pybabel setup.py commands and initial .pot 2011-01-27 00:01:24 +00:00
setup.py TempURL and FormPost Middleware 2012-01-10 21:57:52 +00: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