swift/swift
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 "Add config option to turn eventlet debug on/off" 2012-12-10 20:37:31 +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 1.7.6 version bump 2012-11-06 19:38:26 -08:00