[ 
https://issues.apache.org/jira/browse/HDDS-9535?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Mohammad Arafat Khan updated HDDS-9535:
---------------------------------------
    Description: 
Following a discussion in one of the 
[PRs|https://github.com/apache/ozone/pull/4245#issuecomment-1430505298] that 
introduced OBS support for namespace summaries, we have decided to address this 
improvement separately. It necessitates further discussion and an entirely 
different design approach.

The Key-Table Entry example provided below contains both Object-Based Storage 
(OBS) and Legacy Buckets with FileSystem disabled. Each entry represents a 
unique object in the storage :- 

 
{code:java}
vol1/bucket1/instance1/application1/file1
vol1/bucket1/instance1/application1/file2
vol1/bucket1/instance1/application2/file3
vol1/bucket1/instance1/application2/file4
vol1/bucket1/instance2/application3/file1
vol1/bucket1/instance2/application3/file2
vol1/bucket1/instance2/application4/file3
vol1/bucket1/instance2/application4/file4
{code}
 * In this example, '{*}instance1/application1{*}' and 
'{*}instance2/application3{*}' are not actual directories but rather prefixes 
that help distinguish files from one another in Object Store buckets. Since 
Object Store buckets do not have directories, we use prefixes as a way to 
simulate directory-like structures, allowing for more refined searches and 
easier organization of objects within the bucket. This is similar to how files 
are differentiated in a traditional file system using their directories.
 * For example, if you want to search for a specific file within an Object 
Store bucket, you can use these prefixes to narrow down the search, rather than 
listing all objects in the bucket. This approach provides a more efficient way 
to locate and manage objects in an Object Store, while still maintaining 
compatibility with applications that expect directory-like structures.


 

> Enable prefix-based filtering for Object Store Layout keys in namespace 
> summaries.
> ----------------------------------------------------------------------------------
>
>                 Key: HDDS-9535
>                 URL: https://issues.apache.org/jira/browse/HDDS-9535
>             Project: Apache Ozone
>          Issue Type: Sub-task
>          Components: Ozone Recon
>            Reporter: Mohammad Arafat Khan
>            Assignee: Mohammad Arafat Khan
>            Priority: Major
>
> Following a discussion in one of the 
> [PRs|https://github.com/apache/ozone/pull/4245#issuecomment-1430505298] that 
> introduced OBS support for namespace summaries, we have decided to address 
> this improvement separately. It necessitates further discussion and an 
> entirely different design approach.
> The Key-Table Entry example provided below contains both Object-Based Storage 
> (OBS) and Legacy Buckets with FileSystem disabled. Each entry represents a 
> unique object in the storage :- 
>  
> {code:java}
> vol1/bucket1/instance1/application1/file1
> vol1/bucket1/instance1/application1/file2
> vol1/bucket1/instance1/application2/file3
> vol1/bucket1/instance1/application2/file4
> vol1/bucket1/instance2/application3/file1
> vol1/bucket1/instance2/application3/file2
> vol1/bucket1/instance2/application4/file3
> vol1/bucket1/instance2/application4/file4
> {code}
>  * In this example, '{*}instance1/application1{*}' and 
> '{*}instance2/application3{*}' are not actual directories but rather prefixes 
> that help distinguish files from one another in Object Store buckets. Since 
> Object Store buckets do not have directories, we use prefixes as a way to 
> simulate directory-like structures, allowing for more refined searches and 
> easier organization of objects within the bucket. This is similar to how 
> files are differentiated in a traditional file system using their directories.
>  * For example, if you want to search for a specific file within an Object 
> Store bucket, you can use these prefixes to narrow down the search, rather 
> than listing all objects in the bucket. This approach provides a more 
> efficient way to locate and manage objects in an Object Store, while still 
> maintaining compatibility with applications that expect directory-like 
> structures.
>  



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

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

Reply via email to