HTTPFile: handle multiple device failover correctly
commita326d26e281e440375925970912c6a9e6b07b7a8
authorEric Wong <normalperson@yhbt.net>
Wed, 24 Dec 2008 04:27:08 +0000 (23 20:27 -0800)
committerEric Wong <normalperson@yhbt.net>
Wed, 24 Dec 2008 04:36:49 +0000 (23 20:36 -0800)
tree5a787bf6e9602836ac34a548cdd38eebd6a38dc6
parent5ba07ec56c5c8f89ef9390f649f12fdfcf611b49
HTTPFile: handle multiple device failover correctly

Previously, when we got multiple destinations to
upload to and one of them failed, we failed to
correctly retry the next destination.  This will
set the correct devid and URL.
lib/mogilefs/httpfile.rb
lib/mogilefs/mogilefs.rb
test/test_mogilefs.rb