MogileFS::Mysql: refresh devices/domains on cache miss
commita24cd5c8e29161c5dbf707f65ec0d64b2a75dc1b
authorEric Wong <normalperson@yhbt.net>
Thu, 29 Jan 2009 00:02:26 +0000 (28 16:02 -0800)
committerEric Wong <normalperson@yhbt.net>
Thu, 29 Jan 2009 00:02:26 +0000 (28 16:02 -0800)
tree9f9c94f975426a67e0766578206a7a42492d2151
parente482442c5c46ab67d5db5206e8dea66d2e5c4dc9
MogileFS::Mysql: refresh devices/domains on cache miss

Domains and devices may be added/changed at any time,
so there's a risk of cache misses in case something
got added before our cache refresh interval.  Always
retry if we have a cache miss.
lib/mogilefs/mysql.rb