Skip to content

Alt-Ids intended to be unique per sample may repeat #96

@dmcmanam

Description

@dmcmanam

We see some repeat Alt-ids in the database due to the code below in PromoteBanked.java returning the same value in two consecutive calls.

String uuid;
try {
        uuid = uuidGen.integerToUUID(Integer.parseInt(util.getNextBankedId()), 32);
} catch (Exception e) {
        throw new LimsException("UUID generation failed for sample due to " + e.getMessage());
}

the uuidGen.integerToUUID() does return distinct values from 1-100million so it appears the call to util.getNextBankedId() can, when called consecutively, return the same value.

Metadata

Metadata

Assignees

Labels

Type

No type

Projects

No projects

Milestone

No milestone

Relationships

None yet

Development

No branches or pull requests

Issue actions