Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Added capability to choose Connection Pooling driver and specify it's configuration #265

Merged
merged 3 commits into from
Jun 26, 2024

Conversation

mollonado
Copy link
Contributor

Added hms_ro_datanucleus_connection_pooling_type, hms_rw_datanucleus_connection_pooling_type, hms_ro_datanucleus_connection_pool_config, hms_rw_datanucleus_connection_pool_config, hms_housekeeper_db_connection_pool_size variables to allow specifying the pooling driver and its config

📝 Description

🔗 Related Issues

…us_connection_pooling_type`, `hms_ro_datanucleus_connection_pool_config`, `hms_rw_datanucleus_connection_pool_config`, `hms_housekeeper_db_connection_pool_size` variables to allow specifying the pooling driver and its config
@mollonado mollonado requested a review from a team as a code owner June 26, 2024 14:54
…ig and var.hms_rw_datanucleus_connection_pool_config
CHANGELOG.md Outdated
@@ -3,6 +3,10 @@ All notable changes to this project will be documented in this file.

The format is based on [Keep a Changelog](http://keepachangelog.com/en/1.0.0/) and this project adheres to [Semantic Versioning](http://semver.org/spec/v2.0.0.html).

## [7.10.0] - 2024-06-26
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

7.2.0

name = "DATANUCLEUS_CONNECTION_POOLING_TYPE"
value = var.hms_rw_datanucleus_connection_pooling_type
}
env {
Copy link
Contributor

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Why do we have DATANUCLEUS_CONNECTION_POOL_MAX_POOLSIZE setting but at the same time we add dynamically connection pool configuration? should not be this part of the dynamic configuration?

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I thought about it a lot. It can be but it should not be. It is way too important and can be missed. We need to add an explicit setting for the pool size.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

this setting by the way is shared across all pool types as well, so it's safe to make it explicit.

@mollonado mollonado merged commit f695b43 into master Jun 26, 2024
2 checks passed
@mollonado mollonado deleted the feature/configurable_datanucleus_connection_pool branch June 26, 2024 15:59
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

4 participants