Uploaded image for project: 'WiredTiger'
  1. WiredTiger
  2. WT-7694

Fixes to have bucket prefixes properly used in object names.

    XMLWordPrintableJSON

Details

    Description

      Currently the local_store does not have or use the configured bucket_prefix that is in the WT_BUCKET_STORAGE data structure. Once WT-7693 merges the duplicated information and the prefix is available, this ticket should be the work to prepend the bucket_prefix string to shared storage object names.

      Some things to resolve in this ticket:

      • What layer has knowledge of the bucket prefix? My initial thoughts are that it is only inside the extension. I.e. the library hands the extension name-0000001.wtobj and the extension creates a file with pfxname-0000001.wtobj on disk.
      • Use (or not) of a separator between the object name and bucket_prefix.
      • Once it is being used write a python test to have multiple databases using the same local store directory with the same named tables but different prefixes and coexisting and working correctly.

      Attachments

        Activity

          People

            sue.loverso@mongodb.com Susan LoVerso
            sue.loverso@mongodb.com Susan LoVerso
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: