~guilhem-fr/mogilefs/perl-MogileFS-Client

Viewing all changes in revision 188.

  • Committer: Eric Wong
  • Author(s): Dave Lambley
  • Date: 2013-01-19 09:08:38 UTC
  • Revision ID: git-v1:b073b4562c8f45274a2344174af82e98c1fe920f
avoid retrying bad trackers

Dave Lambley wrote:

When we lose a connection to a tracker and reconnect, we do so in a strict
sequence so that we only ever retry the failed host after trying all the
others.  The client also shuffles the list of hosts, so that if there are
more than two trackers, clients will use all the remaining ones when one
fails, rather than concentrating on the next in the supplied list.

This combines commits in "master" of
https://github.com/davel/perl-MogileFS-Client.git
85643b5ce07c0e536136f4a136ac136bf9e6fedd
b61965a761553ee10145512736ce95a90f7ad391

[ew: commit message]
Signed-off-by: Eric Wong <normalperson@yhbt.net>

expand all expand all

Show diffs side-by-side

added added

removed removed

Lines of Context: