You are viewing a plain text version of this content. The canonical link for it is here.
Posted to github@arrow.apache.org by GitBox <gi...@apache.org> on 2022/04/21 18:37:54 UTC

[GitHub] [arrow] andersonm-ibm commented on pull request #12778: ARROW-14114: [C++][Parquet] Fix multi-threaded read of PME files

andersonm-ibm commented on PR #12778:
URL: https://github.com/apache/arrow/pull/12778#issuecomment-1105621663

   > Can you explain what is being accessed from multiple threads in this context?
   
   `AesDecryptor::AesDecryptorImpl::GcmDecrypt()` and `AesDecryptor::AesDecryptorImpl::CtrDecrypt()` use `ctx_` member of type `EVP_CIPHER_CTX` from OpenSSL, which shouldn't be used from multiple threads concurrently. 
   So, instead of sharing the same `AesDecryptor` between all `Decryptors`, an `AesDecryptor` will be created per `Decryptor`, which is per column.


-- 
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: github-unsubscribe@arrow.apache.org

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