getsentry / getsentry/sentry-python

Introduce fork-safety fix to `SessionFlusher` and `BackgroundWorker`

Aberta
#6,164 3 comentários 0 reações 0 responsáveis Ver no GitHub
Bug Python
Linguagem predominante
Python
Estrelas
2.2k
Forks
669
Merge médio
1d 40min
PRs com merge (30d)
212

Descrição

Related:

* getsentry/sentry-python#6149
* getsentry/sentry-python#6148

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.

Guia de contribuição

Abrir o guia de contribuição

Avaliação

Esta issue ainda não foi avaliada.

Receba novas issues na sua caixa de entrada

Um resumo curto de issues do GitHub para quem está começando.