-
Notifications
You must be signed in to change notification settings - Fork 3
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Fix rucio list dataset replicas #43
Comments
by the way, the following example can be more useful than me diving into guessing code workflow: this is showing T2_BR_UERJ site with some blocks present. That is coherent with calling rucio with
But indeed using
|
FYI: @belforte @ericvaandering @nsmith- please correct me if I'm reporting this wrong |
I thought DAS already switched to using deep=True. Nevertheless, I think that's the correct approach. |
maybe a better candidate for the fix is this one: Line 237 in 6a5e0e3
|
Hi, I applied If you confirm, then I can apply it to production server. |
Yes, at least the behavior is consistent with --deep. |
thanks Valentin, looks good. Here's e.g. another example on a larger dataset The number of sites where the dataset is present changed from 36 to 33 but most relevant is that in new view all disk sites have full blocks (file replica presence is always 100%) which is as we like it to be. FWIW I feel much better about our data placement now ! From my side you can close and move to production, Thanks again for super fast fix. |
Now, new das server version in production, I'll need to update dasgoclient though. |
New dasgoclient version v02.04.48 is in cmsdist pipeline, see cms-sw/cmsdist#7834 I'm closing this ticket. |
The RUCIO API that lists dataset replicas location has a known issue (*) that make it provides inconsistent/outdated location. The correct response is provided by the very same API but with
deep=True
parameter (**).If I follow the DAS code correctly (big if) the only point where this API is used is here (***) (not sure though, the name is not what I expect the call to do). It should be then enough to add deep=True parameter to this call in order to get the correct set of dataset location.
(*)
dmwm/CMSRucio#257
(**)
https://rucio.readthedocs.io/en/old-doc/restapi/replica.html#get--replicas-(path-scope_name)-datasets
(***)
das2go/das/das.go
Lines 641 to 644 in 12589ce
The text was updated successfully, but these errors were encountered: