sarvekshayr opened a new pull request, #8994:
URL: https://github.com/apache/ozone/pull/8994

   ## What changes were proposed in this pull request?
   Similar to [HDDS-12094](https://issues.apache.org/jira/browse/HDDS-12094), 
`ofs.listStatusIterator()` returns FileStatus objects that don't recognise 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.
   
   To keep BasicOmKeyInfo lightweight, added an `isEncrypted` field to 
BasicOmKeyInfo to identify encrypted files.
   
   ## What is the link to the Apache JIRA
   [HDDS-13615](https://issues.apache.org/jira/browse/HDDS-13615)
   
   ## How was this patch tested?
   CI: https://github.com/sarvekshayr/ozone/actions/runs/17359661478
   


-- 
This is an automated message from the Apache Git Service.
To respond to the message, please log on to GitHub and use the
URL above to go to the specific comment.

To unsubscribe, e-mail: [email protected]

For queries about this service, please contact Infrastructure at:
[email protected]


---------------------------------------------------------------------
To unsubscribe, e-mail: [email protected]
For additional commands, e-mail: [email protected]

Reply via email to