You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
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.