oracle / python-oracledb

Python driver for Oracle Database conforming to the Python DB API 2.0 specification. This is the renamed, new major release of cx_Oracle
https://oracle.github.io/python-oracledb
Other
328 stars 66 forks source link

Connections remain in busy connection list and can't be reused in pool #392

Open golubovai opened 3 weeks ago

golubovai commented 3 weeks ago
  1. What versions are you using? Oracle Database 19c
    >>> import sys
    >>> import platform
    >>>
    >>> print("platform.platform:", platform.platform())
    platform.platform: Windows-10-10.0.19045-SP0
    >>> print("sys.maxsize > 2**32:", sys.maxsize > 2**32)
    sys.maxsize > 2**32: True
    >>> print("platform.python_version:", platform.python_version())
    platform.python_version: 3.12.3
    >>>
    >>> import oracledb
    >>> print("oracledb.__version__:", oracledb.__version__)
    oracledb.__version__: 2.4.1
    1. Does your application call init_oracle_client()? Thin mode.
anthony-tuininga commented 3 weeks ago

With some tweaks to the timing I was able to replicate the issue intermittently. I am looking at the best way to address the issue. Thanks for the report and the suggested fix!