You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Marton Elek (Jira)" <ji...@apache.org> on 2021/04/12 12:19:00 UTC

[jira] [Created] (HDDS-5094) Existing keys become unavailable after turning on prefix layout

Marton Elek created HDDS-5094:
---------------------------------

             Summary: Existing keys become unavailable after turning on prefix layout
                 Key: HDDS-5094
                 URL: https://issues.apache.org/jira/browse/HDDS-5094
             Project: Apache Ozone
          Issue Type: Sub-task
            Reporter: Marton Elek


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:

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

6. start the cluster

7.  list the keys in /vol1/bucket1 --> it returns with empty result

Expected behavior: the old keys supposed to be available





--
This message was sent by Atlassian Jira
(v8.3.4#803005)

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org