Uploaded image for project: 'JGroups'
  1. JGroups
  2. JGRP-1219

S3_PING: generate unique bucket name

    XMLWordPrintable

Details

    • Feature Request
    • Resolution: Done
    • Major
    • 2.6.16, 2.10
    • None
    • None
    • 0
    • 0% 0%

    Description

      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

      Attachments

        Activity

          People

            rhn-engineering-bban Bela Ban
            rhn-engineering-bban Bela Ban
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: