backend: fix idempotent retry logic
commit39202060afca2be96c1d01dd83b738de0bd2cc7f
authorEric Wong <normalperson@yhbt.net>
Thu, 10 Nov 2011 01:16:20 +0000 (10 01:16 +0000)
committerEric Wong <normalperson@yhbt.net>
Thu, 10 Nov 2011 01:16:20 +0000 (10 01:16 +0000)
treea25c55309ad3a5aec20c9761e5fcaf306b6ad4f5
parent265f3d32126cf2a31587a6021494f528bbdf8171
backend: fix idempotent retry logic

We don't want to blindly retry on invalid keys and such,
only on invalid (truncated) responses, timeouts, and
syscall errors.
lib/mogilefs/backend.rb