Wei-Chiu Chuang created HDDS-13615:
--------------------------------------
Summary: 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
Reporter: Wei-Chiu Chuang
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]