[
https://issues.apache.org/jira/browse/HDDS-13615?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
]
ASF GitHub Bot updated HDDS-13615:
----------------------------------
Labels: pull-request-available (was: )
> ofs.listStatusIterator() reports files in encrypted buckets as unencrypted
> --------------------------------------------------------------------------
>
> Key: HDDS-13615
> URL: https://issues.apache.org/jira/browse/HDDS-13615
> Project: Apache Ozone
> Issue Type: Bug
> Affects Versions: 1.4.0
> Reporter: Wei-Chiu Chuang
> Assignee: Sarveksha Yeshavantha Raju
> Priority: Major
> Labels: pull-request-available
>
> Similar to HDDS-12094, ofs.listStatusIterator() returns FileStatus objects
> that don't recognize a file is encrypted.
> Internally, the method relies on BasicOmKeyInfo returned from OM, which does
> not have FileEncryptionInfo, and it has no way to tell if a file is encrypted
> or not.
> Suggest: we want to keep BasicOmKeyInfo lightweight, so add an isEncrypted
> field to BasicOmKeyInfo to identify encrypted files.
> Thanks [~MikaelSmith] for discovering the bug!
--
This message was sent by Atlassian Jira
(v8.20.10#820010)
---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]