Skip to content

Comments

fix: RucioFileCatalogClient.setMetadata returns empty result on success#8467

Merged
aldbr merged 1 commit intoDIRACGrid:integrationfrom
cserf:Fix_setmetadata
Feb 23, 2026
Merged

fix: RucioFileCatalogClient.setMetadata returns empty result on success#8467
aldbr merged 1 commit intoDIRACGrid:integrationfrom
cserf:Fix_setmetadata

Conversation

@cserf
Copy link

@cserf cserf commented Feb 23, 2026

BEGINRELEASENOTES

*FileCatalog
FIX: RucioFileCatalogClient.setMetadata returns empty result on success #8330

ENDRELEASENOTES

@aldbr aldbr linked an issue Feb 23, 2026 that may be closed by this pull request
return S_ERROR(str(err))
try:
self.client.set_dids_metadata_bulk(dids=dids, recursive=False)
resDict["Successful"] = {path: True for path in paths}
Copy link
Contributor

Choose a reason for hiding this comment

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

Just wondering, I am not familiar with Rucio: can't we have partially successful/failed operation? Seems like it can only be all successful or failed.

Copy link
Author

Choose a reason for hiding this comment

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

It's a bulk method, so either everything succeeds or fails

@aldbr aldbr merged commit 4c5c689 into DIRACGrid:integration Feb 23, 2026
23 checks passed
@DIRACGridBot DIRACGridBot added the sweep:ignore Prevent sweeping from being ran for this PR label Feb 23, 2026
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

sweep:ignore Prevent sweeping from being ran for this PR

Projects

None yet

Development

Successfully merging this pull request may close these issues.

RucioFileCatalogClient.setMetadata returns empty result on success

3 participants