You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "ASF GitHub Bot (Jira)" <ji...@apache.org> on 2022/10/26 23:40:00 UTC

[jira] [Updated] (HDDS-7423) DB Scanner should allow iteration from specific key.

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

ASF GitHub Bot updated HDDS-7423:
---------------------------------
    Labels: pull-request-available  (was: )

> DB Scanner should allow iteration from specific key.
> ----------------------------------------------------
>
>                 Key: HDDS-7423
>                 URL: https://issues.apache.org/jira/browse/HDDS-7423
>             Project: Apache Ozone
>          Issue Type: Improvement
>          Components: Ozone CLI, Ozone Manager
>            Reporter: Aryan Gupta
>            Assignee: Aryan Gupta
>            Priority: Major
>              Labels: pull-request-available
>
> The current RocksDB scanner command allows only a simple length parameter to limit the number of records to scan in a specific col family. In the case of a huge table like keyTable or containers, while we are looking for a specific entry, the search is needlessly large and explorative (since we do not know the 'index' of the key)
> A startKey param would be useful.
> {code:java}
>  ozone debug ldb --db=<> scan --column_family=<> --length=<> --startKey=<>{code}



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

---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org