admin (each_fid/list_fids): remove dependency on get_stats
commit2ff4eacf708a3f2e42140a34568bf3792c063618
authorEric Wong <normalperson@yhbt.net>
Fri, 18 Nov 2011 23:14:08 +0000 (18 23:14 +0000)
committerEric Wong <normalperson@yhbt.net>
Fri, 18 Nov 2011 23:16:32 +0000 (18 23:16 +0000)
treecb9c90d0cdb8beee15306fc4121fb636f7d2c6ec
parente6edebe4288c98827e723d75fe9fea4c1a0b013f
admin (each_fid/list_fids): remove dependency on get_stats

The +to+ arg of list_fids is now actually +count+ internally
because gaps may appear in an auto-incrementing FID range
(due to deleted files).  We also have a default +count+ of
100 (matches the internal MogileFS default).
lib/mogilefs/admin.rb
test/test_mogilefs_integration.rb