[jboss-jira] [JBoss JIRA] Created: (JGRP-1219) S3_PING: generate unique bucket name

Bela Ban (JIRA) jira-events at lists.jboss.org
Thu Jun 17 03:12:46 EDT 2010


S3_PING: generate unique bucket name
------------------------------------

                 Key: JGRP-1219
                 URL: https://jira.jboss.org/browse/JGRP-1219
             Project: JGroups
          Issue Type: Feature Request
            Reporter: Bela Ban
            Assignee: Bela Ban
             Fix For: 2.6.16, 2.10


The S3 bucket name space is global, therefore collisions between bucket names are likely. To prevent this, generate unique bucket names. This is done as follows:
- Introduce a new property 'prefix'
- If null, we use the bucket name as defined by 'location'
- If not, we list all buckets and pick the first bucket starting with "<prefix>-". This will be the new location
- If not found, we set location = "<prefix>-<UUID>"

Prefix could be for example set to "jboss-6-m4" for JBoss6 and to "jboss-7-ga" for JBoss7, then there would not be any collisions between different JBoss versions. The UUID generation makes sure that there are no collisions between bucket names

-- 
This message is automatically generated by JIRA.
-
If you think it was sent incorrectly contact one of the administrators: https://jira.jboss.org/secure/Administrators.jspa
-
For more information on JIRA, see: http://www.atlassian.com/software/jira

        


More information about the jboss-jira mailing list