-
Notifications
You must be signed in to change notification settings - Fork 176
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
[8.0] FIX Multi VO metadata double VO suffix issue fix (#7697) #7708
[8.0] FIX Multi VO metadata double VO suffix issue fix (#7697) #7708
Conversation
…o query filecatalog. This is needed for MultiVO*Metadata file catalog configurations
53a982d
to
8a90c8e
Compare
…irIDsByMetadata from derived class)
f95e2e5
to
27bb1c2
Compare
src/DIRAC/DataManagementSystem/DB/FileCatalogComponents/FileMetadata/MultiVOFileMetadata.py
Outdated
Show resolved
Hide resolved
0db8508
to
621ec60
Compare
I'll try to test this. If I haven't by Monday afternoon, please ping me again. |
Simon had the following comment offline, here reproduced for completeness, so I can find it when I have time to get back to this. [start quote] findDirIDsByMetadata is effectively an internal function and should expect I'm not sure the best way to fix that, obviously just removing the There may be others that effectively have the same problem? |
The fix makes |
I just tested this on dirac00. It now says I am 60% done, which is progress. Now I just need to remember how many files I actually tagged and check that the files are where I think they should be. |
Also, the changes I see in InputDataAgent.py are actually in #7683 |
Sweep summary Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/9775394680 Successful:
|
BEGINRELEASENOTES
*DMS
FIX: Remove
def findDirIDsByMetadata(self, metaDict, dPath, credDict):
method fromMultiVODirectoryMetadata
(derived) class which caused an extra VO suffix added when searching. The method is meant to be used internally only on keys which are already expanded in a MultiVO case. Add a user-level deffindDirectoriesByMetadata(self, queryDict, path, credDict)
to the derived class thus adding a VO suffix for a directory search. Fixes #7687.ENDRELEASENOTES