Uploaded image for project: 'Apache Ozone'
  1. Apache Ozone
  2. HDDS-2939 Ozone FS namespace
  3. HDDS-5094

[FSO] Fail OM startup when turn on prefix layout with old buckets

    XMLWordPrintableJSON

Details

    • Sub-task
    • Status: Resolved
    • Major
    • Resolution: Fixed
    • None
    • None
    • None

    Description

      Steps to reproduce:

      1. cd compose/upgrade && docker-compose up -d (if it fails, fix the permission of the dirs, and repeat the up command)

      2. create /vol1/bucket1/dir1/dir2/key1

      3. list the keys in /vol1/bucket1

      4. stop the cluster

      5. modify the docker-config by enabling prefix layout:

      OZONE-SITE.XML_ozone.om.enable.filesystem.paths=true
      OZONE-SITE.XML_ozone.om.metadata.layout=prefix
      

      6. start the cluster

      Expected behavior: Fail to start OM as the configured cluster layout and persisted bucket layout mismatches. Presently, there is no validation during OM startup.

      Attachments

        Issue Links

          Activity

            People

              rakeshr Rakesh Radhakrishnan
              elek Marton Elek
              Votes:
              0 Vote for this issue
              Watchers:
              3 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: