Thanks to visit codestin.com
Credit goes to github.com

Skip to content

Conversation

@dbnk0
Copy link
Collaborator

@dbnk0 dbnk0 commented Sep 9, 2025

Access to master buffers during datapoint insertion sometimes results in KeyError causing termination of worker thread. Eventually, error "Thread X is dead, more than 20 restarts attempted, giving up..." appears, worker termination procedure gets invoked, but ends up with infinite logging of "N worker threads alive". The result is silent failure of the whole worker and no task processing. This situation needs further investigation, but I'm at least providing a fix.

Access to master buffers during datapoint insertion sometimes results
in `KeyError` causing termination of worker thread. Eventually, error
"Thread X is dead, more than 20 restarts attempted, giving up..."
appears, worker termination procedure gets invoked, but ends up with
infinite logging of "N worker threads alive". The result is silent
failure of the whole worker and no task processing.
@dbnk0 dbnk0 requested a review from xsedla1o September 9, 2025 09:25
Copy link
Collaborator

@xsedla1o xsedla1o left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice catch, thank you for the fix!

@xsedla1o xsedla1o merged commit b595e92 into master Sep 16, 2025
4 checks passed
@xsedla1o xsedla1o deleted the fix_db_dp_insert_bufs_access branch September 18, 2025 10:13
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.

3 participants