Minor issue with MogileFS/Worker/Monitor.pm
dormando at rydia.net
Wed Nov 7 06:38:36 UTC 2007
I'd prefer something that cleans up the files on the mogstored end, in
case there're failures to delete files. Having said that, I'd
(personally) still consider checking this in if we can't find a good
reason not to.
Also, does it need to be 10,000?
Derek Boonstra wrote:
> The Worker::Monitor probes the devices by putting a test file on the
> storage. This is followed by retrieving the data and verifying its
> content. The test file on the storage device is then abandoned.
> Though limited to 10000 files, with many trackers running against the
> storage nodes, the number of files on devX/test-write builds up quickly.
> The proposed patch attached sends a delete request to the storage node
> after the put/get test is found to be successful. In this manner,
> Monitor cleans up after itself and the task cleaning up is not laid upon
> mogstored as I have seen with other proposals on this list.
More information about the mogilefs