Introduce fork-safety fix to `SessionFlusher` and `BackgroundWorker` · Issue #6164 · getsentry/sentry-python · GitHub
Skip to content

Introduce fork-safety fix to SessionFlusher and BackgroundWorker #6164

Description

@ericapisani

Related:

There have been a couple of reported cases where a deadlock occurs when os.fork is used and the child process inherits an acquired lock that the parent process had set.

There are other sites that have a similar code pattern to the issues linked above within SessionFlusher and BackgroundWorker that will need to be updated to prevent this deadlock from happening.

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    Projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions