[
https://issues.apache.org/jira/browse/HDDS-11747?page=com.atlassian.jira.plugin.system.issuetabpanels:comment-tabpanel&focusedCommentId=17899290#comment-17899290
]
Ethan Rose commented on HDDS-11747:
-----------------------------------
There are a few options for the output:
* Given a list of containers, output all keys that use those containers.
* Output a full container to key mapping in the form of another RocksDB
instance.
Given that the whole key space would need to be traversed anyways, there may
not be much difference between the two in terms of run time.
> Add ozone debug CLI to get keys that use certain containers
> -----------------------------------------------------------
>
> Key: HDDS-11747
> URL: https://issues.apache.org/jira/browse/HDDS-11747
> Project: Apache Ozone
> Issue Type: Sub-task
> Reporter: Ethan Rose
> Priority: Major
>
> In some cases Recon's container to key mapping may not have finished be
> generated yet or Recon itself may be offline. In these cases it would be good
> to have a backup {{ozone debug}} CLI that can take an OM DB instance and
> construct the container to key mapping using that. It would be good to re-use
> Recon code to do this if possible, maybe by moving it to a common module.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]