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.