Replies: 6 comments 6 replies
-
|
Is this URL the PFN stored here? I am not consciously aware this this is needed for us. |
Beta Was this translation helpful? Give feedback.
-
|
I had a quick chat with @sfayer and the only place we use it is in some quick and dirty data base hacks (it comes in really handy if you need to generate a list of files on a certain SE), so we can live without it. |
Beta Was this translation helpful? Give feedback.
-
|
In JUNO, the jobs with multiple input files are commonly required. Instead of downloading data from WNs, we use dirac-dms-lfn-accessURL to get xrootd url of these files to enable the application read files with xrootd protocol directly. Is the "dirac-dms-lfn-accessURL" command related to what you described? Without direct PFN info, should we maintain one ourselves outside dirac?
|
Beta Was this translation helpful? Give feedback.
-
|
I only positively support the idea. I will reconfirm this with my colleagues and will come back to you. At least I see nowhere the flag Back in the days with LFC, and relying on the PFNs stored in the DB, migration of files at sites (eg. from an old SE to a new SE within the site) caused non-negligible efforts for replacing SURLs in LFC. With DIRAC and Rucio composing SURLs deterministically, based on the SE endpoint name and the LFN, |
Beta Was this translation helpful? Give feedback.
-
|
This feature of the catalogue was there since the beginning when the LFN <-> PFN convention was a novelty. The PFN construction was seen rather as a convenience feature. Now it is largely accepted as a strict rule. So, the need for a possibility to store PFNs is actually reduced if at all. We had some cases in the past where existing data was imported into the DIRAC DMS and registered in the catalog in a different directory structure than in the physical storage. This is certainly not a general case and can be rather addressed by renaming files on the physical storage (one-time operation). There were also cases where a community decided to change the structure of their logical namespace for some good reasons. In this case the stored PFNs can be handy in order not to affect physical storage (Xiaomei can probably comment for the JUNO's case). |
Beta Was this translation helpful? Give feedback.
-
|
For CTAO, we don't use this feature at all, so we are totally fine with removing it. |
Beta Was this translation helpful? Give feedback.
Uh oh!
There was an error while loading. Please reload this page.
Uh oh!
There was an error while loading. Please reload this page.
-
Historically, the FileCatalog (whether it was the LFC, DFC, anything else) was storing for a given LFN a URL along side all the other information.
The model later changed because we started having multiple protocols (so a single URL does not make sense anymore), but also because the URL became deterministic (proto + host + base path + lfn). These changes are from v6r12 if my memory serves me well.
When these changes were introduced, great care was taken to still support the old model, and always propagate a URL from the catalog just in case some community would need it (as far s I know, we were not even certain it was needed).
I would like to remove this compatibility layer.
One reason is that in the view of the migration of the DMS to
diracx, it will make the transition a lot smoother.The other reason is that carrying around all these fake URLs has a non negligible performance cost (network, memory etc).
I would like the opinion of
@atsareg : ❓
@marianne013 : ✅
@andresailer : ✅
@iueda: ❓
@arrabito : ❓
@zhangxiaomei : ❓
Beta Was this translation helpful? Give feedback.
All reactions