Repository navigation
Conversation
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
…ooling config Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
mgaffigan
requested review from
a team,
NicoPiel,
gibson9583,
jonbartels,
kayyagari,
kpalang,
pacmano1 and
ssrowe
October 28, 2026 20:15
Test Results129 files - 1 129 suites - 1 2m 58s ⏱️ -4s Results for commit 5960ad2. ± Comparison against base commit a403039. This pull request removes 2 and adds 2 tests. Note that renamed tests count towards both.♻️ This comment has been updated with latest results. |
NicoPiel
previously approved these changes
Oct 28, 2026
NicoPiel
left a comment
Contributor
There was a problem hiding this comment.
- No statement cache anymore: the app-level cache is removed, and nothing turns on the drivers' own caches for Oracle, MySQL or SQL Server. Every query on the message path is prepared again each time. The benchmark gains may come from fixing the leaks and hide this cost.
- Pool warning fires for hikari too: it warns whenever
database.poolis set to anything, includinghikari. The PR description says it only warns for values other than hikari. - Public API breaks:
DonkeyDao,ConnectionPool, theJdbcDaoconstructor andcreateConnectionPoolall change. Any third-party extension that implements or subclasses them will fail at runtime after upgrading. This needs a release note. - A few result sets are left out: five methods still don't put their result set in try-with-resources. It's harmless today, since closing the statement closes it, but it's inconsistent with the rest.
- Derby cache setting only in the launcher options:
derby.language.statementCacheSizeis set inbase_includes.vmoptions, so Docker images, service wrappers and tests that don't read that file won't get it. - Leftover dbcp2 references:
gradle/vendored-layout.jsonstill listscommons-dbcp2. - Dead code in tests: a line that sets the DAO factory to itself (
setDaoFactory(getDaoFactory())) and empty@Beforemethods were left in four test classes.
Signed-off-by: Mitch Gaffigan <mitch.gaffigan@comcast.net>
Contributor
Author
I think there's more nuance than that:
Any changes would require additional performance testing to identify cost/benefit. It's worth perf-testing on all backends - I am often wrong.
Fixed.
That's true - but I'd be shocked by third-party implementations. Maybe a release-notes section for plugin authors, but otherwise not worried about it.
Fixed.
I don't follow. As far as I'm aware, this is the vmoptions for all consumers.
Fixed.
Fixed. |
NicoPiel
approved these changes
Oct 28, 2026
tonygermano
approved these changes
Oct 29, 2026
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
In load testing, there are many random failures that can be root-caused to:
Both of these are easy to avoid in current best practice of "use hikari" and "use try-with-resources". This PR mostly removes code in implementation of those premises.
Impact:
Advice for review: