Skip to content
Bug Barometer

Snowflake connector pooling-profile maxWait is not applied and connection checkouts from an exhausted pool wait forever

Not fixed yet. Salesforce has scheduled a fix.

There's a workaround

Summary

Snowflake connector: pooling-profile maxWait is never applied, so connection checkouts from an exhausted pool wait forever and application hanngs to get a connection from a pool. Default value -1 is applied and application waits forever to get a connection from a pool

Workaround

Set the JVM system property -Dc3p0.checkoutTimeout=<millis>. It applies to every c3p0 pool in the runtime.

Steps to reproduce

  1. Configure a Snowflake config (basic or key-pair provider) with <snowflake:pooling-profile maxPoolSize="1" maxWait="2" maxWaitUnit="SECONDS"/>.
  2. Run an operation that checks out the only pooled connection. Then run a second operation.
  3. Expected: after about 2 seconds, SNOWFLAKE:CONNECTIVITY "Could not obtain connection from data source". Actual: the flow blocks indefinitely.

History

  1. Description updated

    Nov 30, 2026

  2. First tracked here as Solution Scheduled with 1 report

    Nov 30, 2026

Also open in Anypoint Connectors