Aggregate references from repositories with same repositoryId
Create start markers with random duplicate suffix as well
@@ -831,7 +831,7 @@ public class MarkSweepGarbageCollector implements BlobGarbageCollector {
try {
((SharedDataStore) blobStore).addMetadataRecord(new ByteArrayInputStream(new byte[0]),
SharedStoreRecordType.MARKED_START_MARKER
- .getNameFromId(repoId));
+ .getNameFromIdPrefix(repoId, UUID.randomUUID().toString()));
} catch (DataStoreException e) {
LOG.debug("Error creating marked time marker for repo : {}", repoId);
}
