replicatedBucketName, Math.abs(new Random().nextLong()), guid);
}
public static String replaceEverythingAfterEarliestTimeWithIndexAndGuid(
String bucketName, long newBucketIndex, String guid) {
String bucketIndex = new BucketName(bucketName).getIndex();
int idx = bucketName.lastIndexOf(bucketIndex);
String removedIndex = bucketName.substring(0, idx);
return removedIndex + newBucketIndex + "_" + guid;
}