You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Commit 504cb5a
Browse filesBrowse the repository at this point in the historyBrowse files
fix(bigquery-jdbc): fix physical connection sharing and concurrent checkout in PooledConnectionDataSource
- Open a dedicated physical BigQueryConnection on cache misses and recycle idle physical connections into fresh BigQueryPooledConnection holders while retiring prior holders.
- Separate PooledConnectionDataSource's internal pool listener from public ConnectionEventListener slots, make external listener detachment sticky across removeConnectionEventListener -> close(), and preserve overflow teardown for standalone PooledConnectionListener instances.
- Use LIFO (addFirst/pollFirst) idle reuse in PooledConnectionListener, close excess driver-owned idle connections at capacity, and clarify ConnectionPoolSize and ListenerPoolSize in docs/USER_GUIDE.md.
| `RetryInitialDelay` | `0` |Initial delay (in seconds) before executing the first retry attempt. |
273
273
| `RetryMaxDelay` | `0` |Maximum delay limit (in seconds) between retry attempts. |
274
274
| `MetaDataFetchThreadCount` | `32` |Thread pool size used to parallelize `DatabaseMetaData` catalog RPC calls. |
275
-
| `ConnectionPoolSize` | `10` |Maximumsize of the internal connection pool when connection pooling is enabled. |
276
-
| `ListenerPoolSize` | `10` |Maximumsize of the listener thread pool when connection pooling is enabled. |
275
+
| `ConnectionPoolSize` | `10` |Maximumnumber of idle physical connections retained in `PooledConnectionDataSource`'s built-in pool (`0` = unbounded). Latched from the first physical connection checkout; changing it on the same `PooledConnectionDataSource` afterward has no effect. |
276
+
| `ListenerPoolSize` | `10` | Maximum number of `ConnectionEventListener` instances that can be registered on a single `PooledConnection` (`0` = unbounded). |
277
277
| `RequestReason` | `null` | Reason string passed in the `x-goog-request-reason` HTTP header for auditing. |
0 commit comments