mysql: filter out URLs for down/dead hosts/devices
commit539f39680436dfebe6de9e5c8b905428af438468
authorEric Wong <normalperson@yhbt.net>
Fri, 27 Mar 2009 21:18:53 +0000 (27 14:18 -0700)
committerEric Wong <normalperson@yhbt.net>
Fri, 27 Mar 2009 21:25:21 +0000 (27 14:25 -0700)
tree3208703af09b0f527bc7e0df51bc1ca42fb22a3b
parent4610f9a59b22993785689f292ab23d309a5ce048
mysql: filter out URLs for down/dead hosts/devices

Clients won't be able to make use of them if they're down or
dead.  We trust the MogileFS metadata in MySQL to be synced
correctly with the actual device/host states.
lib/mogilefs/mysql.rb
test/setup.rb
test/test_mysql.rb