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

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


    [ https://jira.jboss.org/browse/JGRP-1219?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=12536024#action_12536024 ] 

Bela Ban commented on JGRP-1219:
--------------------------------

- No, I don't think different JBoss versions in the same cluster are supported
- Re the prefix: this is the task of the guy who configures S3_PING: by default, 'prefix' is null

> 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