[v7r2] recursiveSum option in DFC getDirectorySize#5057
Conversation
|
@andresailer how can I force a rebuild of the doc ? |
|
No idea for the PR builds |
|
Turns out it is still WIP readthedocs/readthedocs.org#6524 |
|
This looks OK to me, but the non-recursive option is only available for the implementation with stored procedures. Related to that I have 2 questions. 1. What is the real use case for the non-recursive directory size ? 2. If there is a real use case, then the other implementation can be also updated to provide non-recursive directory sizes, which should be easy to do. |
|
The use case is the data popularity tools of LHCb. We want to know what is the non recursive size of a directory. So what we do is that we ask the size of a directory, and substract the size of all the sub directories. In the case of LHCb, this is fantastically stupid since what we store in the |
|
OK, I see, this is for a rather specific case of LHCb where files and directories are mixed and a specific data popularity evaluation is used. Then there is no urgency in fixing other managers accordingly. |
Replaces #5025
BEGINRELEASENOTES
*DMS
NEW: Allows to retrieve the non recursive size of a directory from the DFC
CHANGE: Factorize TornadoFileCatalogHandler and FileCatalogHander
ENDRELEASENOTES