File tree Expand file tree Collapse file tree 2 files changed +6
-0
lines changed
modules/jdbc-pool/src/main/java/org/apache/tomcat/jdbc/pool Expand file tree Collapse file tree 2 files changed +6
-0
lines changed Original file line number Diff line number Diff line change @@ -1142,6 +1142,7 @@ public void testAllIdle() {
1142
1142
continue ;
1143
1143
}
1144
1144
if (!con .validate (PooledConnection .VALIDATE_IDLE )) {
1145
+ releasedIdleCount .incrementAndGet ();
1145
1146
idle .remove (con );
1146
1147
release (con );
1147
1148
}
Original file line number Diff line number Diff line change 151
151
</subsection >
152
152
<subsection name =" jdbc-pool" >
153
153
<changelog >
154
+ <fix >
155
+ Fix the <code >releaseIdleCounter</code > does not increment when testAllIdle
156
+ releases them. Pull request <pr >241</pr > provided by Arun Chaitanya Miriappalli
157
+ (lihan)
158
+ </fix >
154
159
<fix >
155
160
Fix the <code >ConnectionState</code > state will be inconsistent with actual
156
161
state on the connection when an exception occurs while writing. Pull request
You can’t perform that action at this time.
0 commit comments