Skip to content
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

More vitual project tidbits... #21

Open
marcmengel opened this issue Sep 11, 2024 · 0 comments
Open

More vitual project tidbits... #21

marcmengel opened this issue Sep 11, 2024 · 0 comments

Comments

@marcmengel
Copy link
Collaborator

In the daemon that talks to Rucio, we should ignore virtual projects; no point running off and getting info about
the files from rucio if we aren't using it.

I think that would be about here:
https://github.com/fermitools/data_dispatcher/blob/main/daemon/daemon.py#L469
we would just do
if project is not None and not project.attributes.get("virtual", False):
instead of
if project is not None:
so we wouldn't start a thread to get info from Rucio for that project.

Also here:
https://github.com/fermitools/data_dispatcher/blob/main/web_server/data_server.py#L344
in project(), we should only get replicas if they asked for them and the project is not virtual...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant