swift/test/unit
Darrell Bishop ea95d0092a Avoid infinite recursion in swift.obj.replicator.get_hashes.
Fixes bug 1089140.

Turns out that if an exception bails out of the pickle loading (eg.
zero-byte hahes_file), the if clause to determine whether or not to
write out a fresh hashes_file can evaluate to false, leading to an
infinite loop.

This patch fixes this infinite loop generally, by ensuring that if any
exception is thrown, a new hashes_file is written.

Change-Id: I344c5f8e261ce7c667bdafe1687263a4150b21dc
2012-12-11 15:32:09 -08:00
..
account 406 if we can't satisfy Accept 2012-12-03 11:42:37 -08:00
common Merge "bp/cross-tenant-acls: allow tenantId:user, tenantName:user, and *:user ALCs" 2012-12-05 19:48:24 +00:00
container 406 if we can't satisfy Accept 2012-12-03 11:42:37 -08:00
obj Avoid infinite recursion in swift.obj.replicator.get_hashes. 2012-12-11 15:32:09 -08:00
proxy Merge "Fix lazy-listing of object segments." 2012-11-19 15:28:20 +00:00
__init__.py changed TRUE_VALUES references to utils.config_true_value() call 2012-10-29 13:59:01 -07:00