xichen01 commented on PR #3969:
URL: https://github.com/apache/ozone/pull/3969#issuecomment-1326744362

   @xBis7 
   If execute `ozone sh key put ${keyname}`  but if the `${keyname}` contains a 
directory that doesn't exist. 
   For FSO bucket, these "missing paths will be created automatically, I think 
these automatically created directories should increase `Usednamespace`.
   
   ```shell
   [root@linux ~/root/ozone]$ ozone sh bucket create s3v/bucket4 -l 
FILE_SYSTEM_OPTIMIZED
   [root@linux ~/root/ozone]$ ozone sh key put 
/s3v/bucket4/dir1/dir2/dir3/dir4/file119 ~/1M.img
   [root@linux ~/root/ozone]$ ozone sh key ls s3v/bucket4 | grep name
     "name" : "dir1/",
     "name" : "dir1/dir2/",
     "name" : "dir1/dir2/dir3/",
     "name" : "dir1/dir2/dir3/dir4/",
     "name" : "dir1/dir2/dir3/dir4/file119",
   ```
   
    But for the Object bucket, these "missing paths" will not be created, they 
are not real, and should not increase `Usednamespace`
   
   Do you have any suggestions?
   
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to