backend: retry all trackers on send failure
authorEric Wong <normalperson@yhbt.net>
Tue, 5 Feb 2013 21:57:59 +0000 (21:57 +0000)
committerEric Wong <normalperson@yhbt.net>
Tue, 5 Feb 2013 22:16:01 +0000 (22:16 +0000)
commit3c73f6b434a4c226c09e31c6ba3b034cb314b3fb
tree131e6d934cc2b8fa9da5949c23eb9a4dba07d8b7
parent3dd52026434fe89a1ef5110fc5fe568cdd4df819
backend: retry all trackers on send failure

In single tracker configurations, a restarted tracker may cause
send()/write() failure on the TCP socket.  Retry immediately in
this case, since there's no danger even for non-idempotent
tracker requests.
lib/mogilefs/backend.rb
test/fresh.rb
test/test_fresh.rb