Skip to content

Bulk load connection timeouts on 1.7.1 #595

@amachanic

Description

@amachanic

Describe the bug

As soon as I updated to 1.7.1 (from 1.6.x) I started experiencing occasional errors when attempting to bulk load: "RuntimeErorr: Failed to connect to SQL Server: Timeout Error: Timeout while connecting"

I'm not really sure how to create a repro of the issue as it happened seemingly randomly. What I can say is that the code in question makes heavy use of multiprocessing, often running concurrent bulk loads on several processes at once. This setup has been rock solid on 1.6.x and I didn't change any other dependencies, so I'm very confident that this is a regression.

Further technical details

Python version: 3.12
SQL Server version: SQL Server 2022
Operating system: Windows 11

Metadata

Metadata

Assignees

No one assigned

    Labels

    triage neededFor new issues, not triaged yet.

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions