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

[8.0] feat (Storage): disable bearer plugins unless copying files #8070

Merged
merged 1 commit into from
Mar 5, 2025

Conversation

chaen
Copy link
Contributor

@chaen chaen commented Mar 4, 2025

Closes #8052
Thanks @cserf !

Test script:

from DIRAC import initialize; initialize()
from DIRAC.Resources.Storage.StorageElement import StorageElement
se = StorageElement('MyStorageWithHighLatency')
for i in range(100):
    se.removeFile(f"/lhcb/user/c/chaen/IDoNotExist_{i}.txt")

Before:

$ time python /tmp/remove.py

real    2m45.621s
user    0m8.523s
sys     0m0.389s

After

$ time python /tmp/remove.py

real    0m49.405s
user    0m6.151s
sys     0m0.285s

BEGINRELEASENOTES

*Resources
CHANGE: Disable Bearer token for HTTPs unless upload/TPC

ENDRELEASENOTES

@DIRACGridBot DIRACGridBot added the alsoTargeting:integration Cherry pick this PR to integration after merge label Mar 4, 2025
Copy link
Contributor

@fstagni fstagni left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

From @cserf : Maybe I forgot to push the button to finish the review, but cannot check right now. I didn't have any comment. The PR is good to go.

@fstagni fstagni merged commit 1f30699 into DIRACGrid:rel-v8r0 Mar 5, 2025
26 checks passed
@DIRACGridBot DIRACGridBot added the sweep:done All sweeping actions have been done for this PR label Mar 5, 2025
DIRACGridBot pushed a commit to DIRACGridBot/DIRAC that referenced this pull request Mar 5, 2025
@DIRACGridBot
Copy link

Sweep summary

Sweep ran in https://github.com/DIRACGrid/DIRAC/actions/runs/13678608479

Successful:

  • integration

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
alsoTargeting:integration Cherry pick this PR to integration after merge sweep:done All sweeping actions have been done for this PR
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants