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

Rename jdbc minPoolSize to minIdle #6347

Merged
merged 1 commit into from
Feb 23, 2024

Conversation

tnleeuw
Copy link
Contributor

@tnleeuw tnleeuw commented Feb 23, 2024

  • Make name of configuration property clearer and make it more clear that BTM specific options only apply to XA datasource connection pools.
  • Revert old name transactionmanager.narayana.jdbc.connection.minPoolSize for transactionmanager.narayana.jdbc.connection.minIdle.

* Make name of configuration property clearer and make it more clear that BTM specific options only apply to XA datasource connection pools.
* Revert old name `transactionmanager.narayana.jdbc.connection.minPoolSize` for `transactionmanager.narayana.jdbc.connection.minIdle`.
@tnleeuw tnleeuw self-assigned this Feb 23, 2024
@tnleeuw tnleeuw linked an issue Feb 23, 2024 that may be closed by this pull request
Copy link

sonarcloud bot commented Feb 23, 2024

@@ -115,8 +115,12 @@ jdbc.required=true
jdbc.datasource.default=jdbc/${instance.name.lc}

## JDBC Connection Pool properties
# Minimum number of physical connections to maintain.
# Deprecated, use instead `transactionmanager.jdbc.connection.minIdle`
Copy link
Contributor

Choose a reason for hiding this comment

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

Shouldn't we remove the deprecated option from 8.1 because we already marked it as deprecated in 7.9/8.0 and people are still going to migrate to that version still?

Copy link
Sponsor Member

Choose a reason for hiding this comment

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

Regardless when people migrate to newer versions, it's deprecated in this one, thus the tag should be there?

Copy link
Contributor

Choose a reason for hiding this comment

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

Ok, we'll leave it for 8.1 like this.

Copy link
Contributor

@jkosternl jkosternl left a comment

Choose a reason for hiding this comment

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

Question asked about deprecation.

@nielsm5 nielsm5 merged commit b5ceaba into master Feb 23, 2024
17 checks passed
@nielsm5 nielsm5 deleted the issue/6302_MinPoolSizeConfigPropertyName branch February 23, 2024 14:24
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.

jdbc connection pool minIdle setting refers to minPoolSize
3 participants