[
https://jira.jboss.org/browse/JGRP-1219?page=com.atlassian.jira.plugin.sy...
]
Marek Goldmann commented on JGRP-1219:
--------------------------------------
Sounds good, two comments:
- Is there a chance that in one cluster we'll have different JBoss versions? Upgrade?
If yes, we need to specify always our own prefix.
- Maybe prefix with "cluster" at the beginning: "cluster-jboss-6-m4",
"cluster-jboss-7-ga" would be nicer :)
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