Skip to content

python adbc-driver-manager GIL disabling #3318

@idosilverwater-vast

Description

@idosilverwater-vast

What would you like help with?

Hello,

Regarding the python adbc-driver-manager

We noticed that in the connection class in _lib.pyx, some methods use the nogil context and some don't.
set_autocommit() and close() do use it to disable the GIL and rollback does not.

In a testing scenario where the server and the adbc driver run in the same GIL context a deadlock is reached.

Is there a specific reason why the gil is not disabled in the rollback method?

Thank you,
Ido

Metadata

Metadata

Assignees

No one assigned

    Labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions