Closed Coduz closed 13 hours ago
Attention: Patch coverage is 73.91304%
with 12 lines
in your changes missing coverage. Please review.
Project coverage is 16.79%. Comparing base (
4116da6
) to head (86528ae
). Report is 10 commits behind head on develop.
Files with missing lines | Patch % | Lines |
---|---|---|
...java/org/eclipse/kapua/commons/jpa/DataSource.java | 70.73% | 9 Missing and 3 partials :warning: |
This PR deprecates
commons.db.pool.size.min
andcommons.db.pool.size.max
settings since they have changed their meaning/usage after #4067We deprecated
commons.db.pool.size.min
andcommons.db.pool.size.max
settings, switching to a newcommons.db.pool.size.fixed
setting which will configure the database connection pool to a fixed size with a default value of5
.Backward compatibility is granted by
db.pool.size.strategy
. Default value isfixed
, but it can be changed torange
to continue use of a variable database connection pool. Be aware that at some pointrange
strategy will be removed and only fixed size will be available.Related Issue This PR improves changes made in #4067
Description of the solution adopted Deprecated usage of:
commons.db.pool.size.min
commons.db.pool.size.max
commons.db.pool.idle.timeout
Removed:
commons.db.pool.size.initial
- not used nor referencedcommons.db.pool.borrow.timeout
- not used nor referencedwhich were no longer used.
Introduced a new
commons.db.pool.size.strategy
andcommons.db.pool.size.fixed
settings to manage the pool sizingScreenshots None
Any side note on the changes made Introduced
UPGRADE_NOTES.md
file to start maintaining a verbose upgrade notes log for notable changes in version