oracle / oci-hdfs-connector

HDFS Connector for Oracle Cloud Infrastructure
https://cloud.oracle.com/cloud-infrastructure
Other
27 stars 26 forks source link

Make timeouts of core threads instead of having them fixed open for BmcDataStore #111

Open eaugene opened 1 week ago

eaugene commented 1 week ago

Fixes : https://github.com/oracle/oci-hdfs-connector/issues/109

This allows the parked core threads to be timeout.

The tradeoff is when old threads are closed, creating new threads will take a very fractional time compared to keeping them parked always leading to OOM

This fix is more of a hot fix , however having this along with https://github.com/oracle/oci-hdfs-connector/pull/110 fixes this issues better

More Ref :

oracle-contributor-agreement[bot] commented 1 week ago

Thank you for your pull request and welcome to our community! To contribute, please sign the Oracle Contributor Agreement (OCA). The following contributors of this PR have not signed the OCA:

To sign the OCA, please create an Oracle account and sign the OCA in Oracle's Contributor Agreement Application.

When signing the OCA, please provide your GitHub username. After signing the OCA and getting an OCA approval from Oracle, this PR will be automatically updated.

If you are an Oracle employee, please make sure that you are a member of the main Oracle GitHub organization, and your membership in this organization is public.