[ 
https://issues.apache.org/jira/browse/HDDS-4364?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17532000#comment-17532000
 ] 

Kaijie Chen commented on HDDS-4364:
-----------------------------------

Hi, I noticed that RDBTable#getRangeKVs() will return an empty list when given 
startKey is not exist in the table.

Do you knoe is there any particular reason for that, or can we change this 
behavior?

> [FSO]List FileStatus : startKey can be a non-existed path
> ---------------------------------------------------------
>
>                 Key: HDDS-4364
>                 URL: https://issues.apache.org/jira/browse/HDDS-4364
>             Project: Apache Ozone
>          Issue Type: Sub-task
>            Reporter: Rakesh Radhakrishnan
>            Assignee: Rakesh Radhakrishnan
>            Priority: Major
>
> StartKey can be a non-existed key in the {{keyManager#listStatus}}}} API. 
> Needs special handling to search the path in FileTable and in DirTable.
> For Example, OM has namespace like:
> {code:java}
>     /a/a
>     /a/c
>     /a/d
> {code}
> If given {{startKey: "/a/b"}}, here should return {{["/a/c", "/a/d"]}}
> [Reference 
> comment|https://github.com/apache/hadoop-ozone/pull/1503#discussion_r506857023]



--
This message was sent by Atlassian Jira
(v8.20.7#820007)

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

Reply via email to