You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ozone.apache.org by "sarvekshayr (via GitHub)" <gi...@apache.org> on 2025/09/01 03:25:25 UTC

[PR] HDDS-13615. ofs.listStatusIterator() reports files in encrypted buckets as unencrypted [ozone]

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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-13615. ofs.listStatusIterator() reports files in encrypted buckets as unencrypted [ozone]

Posted by "sarvekshayr (via GitHub)" <gi...@apache.org>.
sarvekshayr commented on PR #8994:
URL: https://github.com/apache/ozone/pull/8994#issuecomment-3240754595

   @jojochuang please review this PR.


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org


Re: [PR] HDDS-13615. ofs.listStatusIterator() reports files in encrypted buckets as unencrypted [ozone]

Posted by "jojochuang (via GitHub)" <gi...@apache.org>.
jojochuang merged PR #8994:
URL: https://github.com/apache/ozone/pull/8994


-- 
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: issues-unsubscribe@ozone.apache.org

For queries about this service, please contact Infrastructure at:
users@infra.apache.org


---------------------------------------------------------------------
To unsubscribe, e-mail: issues-unsubscribe@ozone.apache.org
For additional commands, e-mail: issues-help@ozone.apache.org