]
Bela Ban closed JGRP-1975.
--------------------------
Resolution: Out of Date
JGroups S3_PING should support sub-folders in S3.
-------------------------------------------------
Key: JGRP-1975
URL:
https://issues.jboss.org/browse/JGRP-1975
Project: JGroups
Issue Type: Enhancement
Reporter: Dinesh Wijekoon
As in the code
(
https://github.com/belaban/JGroups/blob/master/src/org/jgroups/protocols/...)
{code}
if(prefix != null && !prefix.isEmpty()) {
ListAllMyBucketsResponse bucket_list=conn.listAllMyBuckets(null);
List buckets=bucket_list.entries;
if(buckets != null) {
boolean found=false;
for(Object tmp: buckets) {
if(tmp instanceof Bucket) {
Bucket bucket=(Bucket)tmp;
if(bucket.name.startsWith(prefix)) {
location=bucket.name;
found=true;
}
}
}
if(!found) {
location=prefix + "-" +
java.util.UUID.randomUUID().toString();
}
}
}
{code}
This stop people by pointing s3_ping into a sub folder in s3, and it requires a root
bucket. This will make life so much harder for a organisation which users multiple
instances running for different clients.