You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "Kaijie Chen (Jira)" <ji...@apache.org> on 2022/05/05 02:17:00 UTC

[jira] [Comment Edited] (HDDS-4364) [FSO]List FileStatus : startKey can be a non-existed path

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

Kaijie Chen edited comment on HDDS-4364 at 5/5/22 2:16 AM:
-----------------------------------------------------------

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

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


was (Author: ckj996):
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: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org