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?
-Dormando
Derek Boonstra wrote:
Hi,
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.