Skip to content

Every resource with an empty URL shares one id: the MD5 of the empty string #112

Description

@mosoriob

What happens

Resource ids are an MD5 of the resource URL. A resource with an empty URL therefore gets

d41d8cd98f00b204e9800998ecf8427e

the MD5 of the empty string. Every URL-less resource in the catalog collides on that one id.

Seen at TACC while resolving #92: a dataslice held a resource with an empty url and exactly
this id.

Why it matters

Two different resources with the same id can overwrite each other, and a binding that stores
the id cannot say which resource it meant. The collision is silent.

Not yet investigated

Which component computes the id, and how many rows already carry
d41d8cd98f00b204e9800998ecf8427e.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions