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

   > We should count directories only for FSO buckets and LEGACY buckets with 
ozone.om.enable.filesystem.paths set to true.
   
   Yes agree @xBis7  , we should increment only if missing directories are 
created as part of key creates which is not the case for OBS.
   @xichen01 I think you can look into 
[OMDirectoryCreateRequest#getAllParentInfo](https://github.com/apache/ozone/blob/6abee8a48cdbb9b79c9347638a33cb6d91602df6/hadoop-ozone/ozone-manager/src/main/java/org/apache/hadoop/ozone/om/request/file/OMDirectoryCreateRequest.java#L260)
  and I guess the namespace increment should be done here as this is the place 
when the missing dirs get created.
   


-- 
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