swift/test/unit/common
Samuel Merritt e994d033a6 Refactor partition gathering.
RingBuilder._reassign_parts() is really moving one (partition,
replica) pair at a time. However, the way that _gather_reassign_parts
passes that data in was strange; it would update each replica's entry
in _replica2part2dev to 0xffff, then return a list of affected
partitions. Now it just returns the pairs to move.

This is helpful in the presence of bugs that affect partition
assignment (e.g. #943493), there's no chance of stray 0xffff values
hanging around and corrupting the partition map.

Also, update my email address.

Change-Id: Ifb3aeb4fac750f66e2ddbad88eb5846e72bac20c
2012-03-06 10:17:03 -08:00
..
middleware Add support for URLs and absolute paths in staticweb CSS listings. 2012-02-23 06:44:45 +00:00
ring Refactor partition gathering. 2012-03-06 10:17:03 -08:00
__init__.py Initial commit of Swift code 2010-07-12 17:03:45 -05:00
corrupted_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
malformed_example.db Real files for bad databases. 2011-08-02 18:21:25 +00:00
test_bench.py Changed copyright notices on py files and the single rst file with a copyright notice 2011-01-04 17:34:43 -06:00
test_bufferedhttp.py skip host in http_connect if specified in headers 2012-02-07 12:02:24 -08:00
test_client.py Drop eval-based json parser fallback 2012-01-24 16:34:13 +01:00
test_constraints.py Changed copyright notices on py files and the single rst file with a copyright notice 2011-01-04 17:34:43 -06:00
test_daemon.py logging: use routes to separate logging configurations 2011-02-02 13:39:08 -08:00
test_db_replicator.py adding double quarantine support for db replication 2011-04-18 15:00:59 -07:00
test_db.py PEP8 swift cleanup 2012-01-04 14:53:53 +08:00
test_direct_client.py Changed copyright notices on py files and the single rst file with a copyright notice 2011-01-04 17:34:43 -06:00
test_exceptions.py Changed copyright notices on py files and the single rst file with a copyright notice 2011-01-04 17:34:43 -06:00
test_init.py Add a __canonical_version__ attribute to the swift module. This is only the numbered part of the version string, no "-dev" or similar suffixes. 2011-05-26 11:25:39 +02:00
test_manager.py Updated the swift-init manager for object-expir... 2012-01-03 22:12:33 +00:00
test_memcached.py Make memcached allow no port = default port 2012-01-12 22:30:32 +00:00
test_utils.py fixed pep8 issue and renamed strcmp_const_time to streq_const_time 2012-02-28 21:38:30 -06:00
test_wsgi.py Fixing bug with x-trans-id. Will now be set on all incoming requests to proxy and trans-ids will not be reused. 2011-10-13 13:56:51 -07:00