Skip to content

fix: preserve GUID case in replica map validation#880

Merged
aldbr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:fix/guid-case-preservation
Apr 2, 2026
Merged

fix: preserve GUID case in replica map validation#880
aldbr merged 1 commit into
DIRACGrid:mainfrom
chrisburr:fix/guid-case-preservation

Conversation

@chrisburr

Copy link
Copy Markdown
Member

The _validate_guid function was forcing GUIDs to uppercase, causing FID mismatches in downstream systems (e.g. RootIOHandler) that perform case-sensitive comparisons against the file's original GUID. This causes issues in LHCb applications which don't do the comparision correctly:

RootIOAlg             INFO DATAFILE='root://x509up_u73370@eoslhcb.cern.ch//eos/lhcb/grid/prod/lhcb/MC/2024/HLT2.DST/00368200/0000/00368200_00000039_1.hlt2.dst'
RootIOHandler        ERROR FID mismatch:F22ECBB4-28CF-11F1-8880-23C2B9BCBEEF(Catalog) != f22ecbb4-28cf-11f1-8880-23c2b9bcbeef(file)

The _validate_guid function was forcing GUIDs to uppercase, causing
FID mismatches in downstream systems (e.g. RootIOHandler) that perform
case-sensitive comparisons against the file's original GUID.
@chrisburr
chrisburr requested a review from ryuwd April 2, 2026 12:11
@chrisburr chrisburr changed the title fix(core): preserve GUID case in replica map validation fix: preserve GUID case in replica map validation Apr 2, 2026

@ryuwd ryuwd left a comment

Copy link
Copy Markdown
Contributor

Choose a reason for hiding this comment

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

LGTM !

@aldbr
aldbr enabled auto-merge (squash) April 2, 2026 12:20
@aldbr
aldbr merged commit c6f0a37 into DIRACGrid:main Apr 2, 2026
30 checks passed
@chrisburr
chrisburr deleted the fix/guid-case-preservation branch April 2, 2026 12:52
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

Successfully merging this pull request may close these issues.

3 participants