HDDS-11747. Add ozone debug CLI to get keys that use certain containers#9469
Conversation
HDDS-11747. Add ozone debug CLI to get keys that use certain containers Fix findbug
sreejasahithi
left a comment
There was a problem hiding this comment.
Thanks @sarvekshayr for working on this
ashishkumar50
left a comment
There was a problem hiding this comment.
@sarvekshayr Thanks for working on this. Why in this PR we are just processing FSO bucket keys and not all the keys(including OBS). Because a container can have either FSO or OBS or both. Are we planning in future PR to support OBS? If so we should clearly output in console that container can have keys which may belong to OBS, so that user is totally aware about that.
Yes, support for OBS keys and additional flags will be done in a follow-up JIRA (HDDS-14118). |
ashishkumar50
left a comment
There was a problem hiding this comment.
Yes, support for OBS keys and additional flags will be done in a follow-up JIRA (HDDS-14118).
I’ll update the command description instead of adding this to the console output as it breaks jq parsing.
It is fine as we are already implementing for OBS, otherwise we could have added in std err as followed in without impacting jq parse.
sumitagrawl
left a comment
There was a problem hiding this comment.
@sarvekshayr Thanks for working over this, few comments
|
Thanks @sumitagrawl, @ashishkumar50 and @sreejasahithi for the review. |
What changes were proposed in this pull request?
Often Recon is down or unable to process information for various reasons. In these cases, we need a fallback for its commonly used container to key mapping.
Added a debug command under om to support listing keys which are in a specific list of containers provided.
What is the link to the Apache JIRA
HDDS-11747
How was this patch tested?