Use new objects for domain/class admin commands
commit047d309d57fb340ea60e8c0d5be6726a9a6cd8cc
authordormando <dormando@rydia.net>
Wed, 25 May 2011 09:31:25 +0000 (25 02:31 -0700)
committerdormando <dormando@rydia.net>
Wed, 1 Jun 2011 22:15:57 +0000 (1 15:15 -0700)
tree0e3bfe3a7f64df391c111ea528974328cfff62d9
parent2ee6113e36b15d91fd11d5f92a135bb5b225b229
Use new objects for domain/class admin commands

First test of the new APIs. t/00-startup.t passes. Required a patch to mogadm
to stop running "get_domains" before every attempt. Code was redundant and
get_domains is now more heavily cached.

Strict admin commands talk to the DB directly. API flow uses the cached
objects.
lib/MogileFS/FID.pm
lib/MogileFS/Server.pm
lib/MogileFS/Store.pm
lib/MogileFS/Worker/Monitor.pm
lib/MogileFS/Worker/Query.pm