Skip to content

Conversation

@auxten
Copy link
Member

@auxten auxten commented Dec 9, 2024

  • Fix starving caused by GIL

    Calling isInheritsFromPyReader()(Need acquire GIL) from Chunk PythonSource::generate() will cause hard to re-produce deadlock. The Python thread might already hold GIL, and waiting for ClickHouse engine returning data, but the pipeline running is also wait for GIL💥
    We should doing everything require GIL before the pipeline start!

@auxten auxten merged commit 01afb91 into main Dec 12, 2024
12 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

2 participants