getsentry / getsentry/sentry-python

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

Đang mở
#6,164 3 bình luận 0 reaction 0 người được giao Xem trên GitHub
Bug Python
Ngôn ngữ chính
Python
Star
2.2k
Fork
669
Merge trung bình
1 ngày 1 giờ
Pull request đã merge (30 ngày)
213

Mô tả

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.

Hướng dẫn đóng góp

Mở hướng dẫn đóng góp

Đánh giá

Issue này chưa được đánh giá.

Nhận issue mới trong hộp thư của bạn

Bản tóm tắt ngắn những issue GitHub phù hợp với người mới.