René's URL Explorer Experiment


Title: Fix fork deadlock by arieleiz · Pull Request #299 · grantjenks/python-diskcache · GitHub

Open Graph Title: Fix fork deadlock by arieleiz · Pull Request #299 · grantjenks/python-diskcache

X Title: Fix fork deadlock by arieleiz · Pull Request #299 · grantjenks/python-diskcache

Description: When a fork occurs while the sqlite db is mid-transaction, so sqlite transaction lock remains locked forever in the foree, deadlocking it. This patch protects against this case using os.register_at...

Open Graph Description: When a fork occurs while the sqlite db is mid-transaction, so sqlite transaction lock remains locked forever in the foree, deadlocking it. This patch protects against this case using os.register_at...

X Description: When a fork occurs while the sqlite db is mid-transaction, so sqlite transaction lock remains locked forever in the foree, deadlocking it. This patch protects against this case using os.register_at...

Opengraph URL: https://github.com/grantjenks/python-diskcache/pull/299

X: @github

direct link

Domain: github.com

route-pattern/_view_fragments/voltron/pull_requests/show/:user_id/:repository/:id/pull_request_layout(.:format)
route-controllervoltron_pull_requests_fragments
route-actionpull_request_layout
fetch-noncev2:164ac1b2-77b6-9185-1369-452c9dc2613e
current-catalog-service-hashae870bc5e265a340912cde392f23dad3671a0a881730ffdadd82f2f57d81641b
request-idCFC0:249571:156C60D:1CC2362:6969A31B
html-safe-nonce45ee411ea1e3457286be6acb5cf9f5eab09f50262d11ed0410daa0659c1f8b5c
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJDRkMwOjI0OTU3MToxNTZDNjBEOjFDQzIzNjI6Njk2OUEzMUIiLCJ2aXNpdG9yX2lkIjoiNDY2MzI1OTY3ODI0ODY0MTMwNyIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac3ae6eebaa2219ea736dcd0719b5aedeffc84edc3903a1fb8f883a990ab0f19c7
hovercard-subject-tagpull_request:1656130992
github-keyboard-shortcutsrepository,pull-request-list,pull-request-conversation,pull-request-files-changed,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/pull_requests_fragments/pull_request_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/voltron/pull_requests/show/grantjenks/python-diskcache/299/pull_request_layout
twitter:imagehttps://opengraph.githubassets.com/f24ba5ab4cb8375058228f2d413ff063f58aea844c56571721bb2ee25eeb64e0/grantjenks/python-diskcache/pull/299
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/f24ba5ab4cb8375058228f2d413ff063f58aea844c56571721bb2ee25eeb64e0/grantjenks/python-diskcache/pull/299
og:image:altWhen a fork occurs while the sqlite db is mid-transaction, so sqlite transaction lock remains locked forever in the foree, deadlocking it. This patch protects against this case using os.register_at...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernamearieleiz
hostnamegithub.com
expected-hostnamegithub.com
None24c4c97a2d520cb286b35e1a4c22d7a4df3c26a2fa28dd7cdf0e65db327b4de7
turbo-cache-controlno-preview
go-importgithub.com/grantjenks/python-diskcache git https://github.com/grantjenks/python-diskcache.git
octolytics-dimension-user_id118304
octolytics-dimension-user_logingrantjenks
octolytics-dimension-repository_id51039722
octolytics-dimension-repository_nwograntjenks/python-diskcache
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id51039722
octolytics-dimension-repository_network_root_nwograntjenks/python-diskcache
turbo-body-classeslogged-out env-production page-responsive
disable-turbofalse
browser-stats-urlhttps://api.github.com/_private/browser/stats
browser-errors-urlhttps://api.github.com/_private/browser/errors
release124667f43168afb6c9c03b7c02eb5b1d2e1be3d9
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/grantjenks/python-diskcache/pull/299#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgrantjenks%2Fpython-diskcache%2Fpull%2F299
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub SparkBuild and deploy intelligent appshttps://github.com/features/spark
GitHub ModelsManage and compare promptshttps://github.com/features/models
MCP RegistryNewIntegrate external toolshttps://github.com/mcp
ActionsAutomate any workflowhttps://github.com/features/actions
CodespacesInstant dev environmentshttps://github.com/features/codespaces
IssuesPlan and track workhttps://github.com/features/issues
Code ReviewManage code changeshttps://github.com/features/code-review
GitHub Advanced SecurityFind and fix vulnerabilitieshttps://github.com/security/advanced-security
Code securitySecure your code as you buildhttps://github.com/security/advanced-security/code-security
Secret protectionStop leaks before they starthttps://github.com/security/advanced-security/secret-protection
Why GitHubhttps://github.com/why-github
Documentationhttps://docs.github.com
Bloghttps://github.blog
Changeloghttps://github.blog/changelog
Marketplacehttps://github.com/marketplace
View all featureshttps://github.com/features
Enterpriseshttps://github.com/enterprise
Small and medium teamshttps://github.com/team
Startupshttps://github.com/enterprise/startups
Nonprofitshttps://github.com/solutions/industry/nonprofits
App Modernizationhttps://github.com/solutions/use-case/app-modernization
DevSecOpshttps://github.com/solutions/use-case/devsecops
DevOpshttps://github.com/solutions/use-case/devops
CI/CDhttps://github.com/solutions/use-case/ci-cd
View all use caseshttps://github.com/solutions/use-case
Healthcarehttps://github.com/solutions/industry/healthcare
Financial serviceshttps://github.com/solutions/industry/financial-services
Manufacturinghttps://github.com/solutions/industry/manufacturing
Governmenthttps://github.com/solutions/industry/government
View all industrieshttps://github.com/solutions/industry
View all solutionshttps://github.com/solutions
AIhttps://github.com/resources/articles?topic=ai
Software Developmenthttps://github.com/resources/articles?topic=software-development
DevOpshttps://github.com/resources/articles?topic=devops
Securityhttps://github.com/resources/articles?topic=security
View all topicshttps://github.com/resources/articles
Customer storieshttps://github.com/customer-stories
Events & webinarshttps://github.com/resources/events
Ebooks & reportshttps://github.com/resources/whitepapers
Business insightshttps://github.com/solutions/executive-insights
GitHub Skillshttps://skills.github.com
Documentationhttps://docs.github.com
Customer supporthttps://support.github.com
Community forumhttps://github.com/orgs/community/discussions
Trust centerhttps://github.com/trust-center
Partnershttps://github.com/partners
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
Archive Programhttps://archiveprogram.github.com
Topicshttps://github.com/topics
Trendinghttps://github.com/trending
Collectionshttps://github.com/collections
Enterprise platformAI-powered developer platformhttps://github.com/enterprise
GitHub Advanced SecurityEnterprise-grade security featureshttps://github.com/security/advanced-security
Copilot for BusinessEnterprise-grade AI featureshttps://github.com/features/copilot/copilot-business
Premium SupportEnterprise-grade 24/7 supporthttps://github.com/premium-support
Pricinghttps://github.com/pricing
Search syntax tipshttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
documentationhttps://docs.github.com/search-github/github-code-search/understanding-github-code-search-syntax
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgrantjenks%2Fpython-diskcache%2Fpull%2F299
Sign up https://github.com/signup?ref_cta=Sign+up&ref_loc=header+logged+out&ref_page=%2F%3Cuser-name%3E%2F%3Crepo-name%3E%2Fvoltron%2Fpull_requests_fragments%2Fpull_request_layout&source=header-repo&source_repo=grantjenks%2Fpython-diskcache
Reloadhttps://github.com/grantjenks/python-diskcache/pull/299
Reloadhttps://github.com/grantjenks/python-diskcache/pull/299
Reloadhttps://github.com/grantjenks/python-diskcache/pull/299
grantjenks https://github.com/grantjenks
python-diskcachehttps://github.com/grantjenks/python-diskcache
Notifications https://github.com/login?return_to=%2Fgrantjenks%2Fpython-diskcache
Fork 155 https://github.com/login?return_to=%2Fgrantjenks%2Fpython-diskcache
Star 2.8k https://github.com/login?return_to=%2Fgrantjenks%2Fpython-diskcache
Code https://github.com/grantjenks/python-diskcache
Issues 49 https://github.com/grantjenks/python-diskcache/issues
Pull requests 17 https://github.com/grantjenks/python-diskcache/pulls
Actions https://github.com/grantjenks/python-diskcache/actions
Projects 0 https://github.com/grantjenks/python-diskcache/projects
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/grantjenks/python-diskcache/security
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
Insights https://github.com/grantjenks/python-diskcache/pulse
Code https://github.com/grantjenks/python-diskcache
Issues https://github.com/grantjenks/python-diskcache/issues
Pull requests https://github.com/grantjenks/python-diskcache/pulls
Actions https://github.com/grantjenks/python-diskcache/actions
Projects https://github.com/grantjenks/python-diskcache/projects
Security https://github.com/grantjenks/python-diskcache/security
Insights https://github.com/grantjenks/python-diskcache/pulse
Sign up for GitHub https://github.com/signup?return_to=%2Fgrantjenks%2Fpython-diskcache%2Fissues%2Fnew%2Fchoose
terms of servicehttps://docs.github.com/terms
privacy statementhttps://docs.github.com/privacy
Sign inhttps://github.com/login?return_to=%2Fgrantjenks%2Fpython-diskcache%2Fissues%2Fnew%2Fchoose
Jump to bottomhttps://github.com/grantjenks/python-diskcache/pull/299#issue-comment-box
arieleizhttps://github.com/arieleiz
grantjenks:masterhttps://github.com/grantjenks/python-diskcache/tree/master
arieleiz:fix_fork_deadlockhttps://github.com/arieleiz/python-diskcache/tree/fix_fork_deadlock
Fix fork deadlock https://github.com/grantjenks/python-diskcache/pull/299#top
arieleizhttps://github.com/arieleiz
grantjenks:masterhttps://github.com/grantjenks/python-diskcache/tree/master
arieleiz:fix_fork_deadlockhttps://github.com/arieleiz/python-diskcache/tree/fix_fork_deadlock
Conversation 8 https://github.com/grantjenks/python-diskcache/pull/299
Commits 5 https://github.com/grantjenks/python-diskcache/pull/299/commits
Checks 0 https://github.com/grantjenks/python-diskcache/pull/299/checks
Files changed https://github.com/grantjenks/python-diskcache/pull/299/files
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
https://github.co/hiddenchars
https://github.com/grantjenks/python-diskcache/pull/{{ revealButtonHref }}
https://github.com/arieleiz
arieleizhttps://github.com/arieleiz
Dec 24, 2023https://github.com/grantjenks/python-diskcache/pull/299#issue-2055118047
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
https://github.com/arieleizenberg
Fix fork deadlockhttps://github.com/grantjenks/python-diskcache/pull/299/commits/096810b31b37fea62556c99623d75568638f8d27
096810bhttps://github.com/grantjenks/python-diskcache/pull/299/commits/096810b31b37fea62556c99623d75568638f8d27
https://github.com/arieleiz
arieleizhttps://github.com/arieleiz
Dec 24, 2023 https://github.com/grantjenks/python-diskcache/pull/299#ref-issue-2055118454
PR for fork deadlock #300 https://github.com/grantjenks/python-diskcache/issues/300
arieleizenberghttps://github.com/arieleizenberg
December 25, 2023 07:45https://github.com/grantjenks/python-diskcache/pull/299#commits-pushed-70a916e
https://github.com/arieleizenberg
Fix accidental change of LF to CR-LFhttps://github.com/grantjenks/python-diskcache/pull/299/commits/70a916e2d3360e5e1e3930436c13790e57f2d98d
70a916ehttps://github.com/grantjenks/python-diskcache/pull/299/commits/70a916e2d3360e5e1e3930436c13790e57f2d98d
https://github.com/arieleizenberg
cleanup testhttps://github.com/grantjenks/python-diskcache/pull/299/commits/a98b3293d0d7f94833f977e8d2b7b63c25010e98
a98b329https://github.com/grantjenks/python-diskcache/pull/299/commits/a98b3293d0d7f94833f977e8d2b7b63c25010e98
https://github.com/grantjenks
grantjenkshttps://github.com/grantjenks
Jan 2, 2024 https://github.com/grantjenks/python-diskcache/pull/299#pullrequestreview-1800967225
View reviewed changes https://github.com/grantjenks/python-diskcache/pull/299/files/a98b3293d0d7f94833f977e8d2b7b63c25010e98
grantjenkshttps://github.com/grantjenks
https://github.com/grantjenks/python-diskcache/pull/299#pullrequestreview-1800967225
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
diskcache/core.pyhttps://github.com/grantjenks/python-diskcache/pull/299/files/a98b3293d0d7f94833f977e8d2b7b63c25010e98#diff-9b4c246156917dc93ea44dada8ba4b8db1cb2e7606b3e976dc978b66261b68ac
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
tests/test_fork_multithreading.pyhttps://github.com/grantjenks/python-diskcache/pull/299/files/a98b3293d0d7f94833f977e8d2b7b63c25010e98#diff-56aa7f4a4c549662d7f76bf69a4fa612a8e4c26f957df82a6b198c02fca34436
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
arieleizhttps://github.com/arieleiz
January 18, 2024 11:35https://github.com/grantjenks/python-diskcache/pull/299#commits-pushed-89b508e
https://github.com/arieleiz
https://github.com/grantjenks
Update tests/test_fork_multithreading.pyhttps://github.com/grantjenks/python-diskcache/pull/299/commits/89b508ef91b5f71d73c226d57e814e6989a46c65
89b508ehttps://github.com/grantjenks/python-diskcache/pull/299/commits/89b508ef91b5f71d73c226d57e814e6989a46c65
https://github.com/arieleizenberg
Fix CR - remove _lock testhttps://github.com/grantjenks/python-diskcache/pull/299/commits/017eb0dddd70bb5ece467392330282f7ff495445
017eb0dhttps://github.com/grantjenks/python-diskcache/pull/299/commits/017eb0dddd70bb5ece467392330282f7ff495445
https://github.com/grantjenks
grantjenkshttps://github.com/grantjenks
Feb 26, 2024 https://github.com/grantjenks/python-diskcache/pull/299#pullrequestreview-1902257138
View reviewed changes https://github.com/grantjenks/python-diskcache/pull/299/files/017eb0dddd70bb5ece467392330282f7ff495445
diskcache/core.pyhttps://github.com/grantjenks/python-diskcache/pull/299/files/017eb0dddd70bb5ece467392330282f7ff495445#diff-9b4c246156917dc93ea44dada8ba4b8db1cb2e7606b3e976dc978b66261b68ac
grantjenkshttps://github.com/grantjenks
Feb 26, 2024https://github.com/grantjenks/python-diskcache/pull/299#discussion_r1503452645
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
diskcache/core.pyhttps://github.com/grantjenks/python-diskcache/pull/299/files/017eb0dddd70bb5ece467392330282f7ff495445#diff-9b4c246156917dc93ea44dada8ba4b8db1cb2e7606b3e976dc978b66261b68ac
grantjenkshttps://github.com/grantjenks
Feb 26, 2024https://github.com/grantjenks/python-diskcache/pull/299#discussion_r1503453664
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
diskcache/core.pyhttps://github.com/grantjenks/python-diskcache/pull/299/files/017eb0dddd70bb5ece467392330282f7ff495445#diff-9b4c246156917dc93ea44dada8ba4b8db1cb2e7606b3e976dc978b66261b68ac
grantjenkshttps://github.com/grantjenks
Feb 26, 2024https://github.com/grantjenks/python-diskcache/pull/299#discussion_r1503454344
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
tests/test_fork_multithreading.pyhttps://github.com/grantjenks/python-diskcache/pull/299/files/017eb0dddd70bb5ece467392330282f7ff495445#diff-56aa7f4a4c549662d7f76bf69a4fa612a8e4c26f957df82a6b198c02fca34436
grantjenkshttps://github.com/grantjenks
Feb 26, 2024https://github.com/grantjenks/python-diskcache/pull/299#discussion_r1503455294
Learn morehttps://docs.github.com/articles/managing-disruptive-comments/#hiding-a-comment
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
Sign up for freehttps://github.com/join?source=comment-repo
Sign in to commenthttps://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Fgrantjenks%2Fpython-diskcache%2Fpull%2F299
https://github.com/grantjenks
grantjenks https://github.com/grantjenks
https://github.com/grantjenks/python-diskcache/pull/299/files/017eb0dddd70bb5ece467392330282f7ff495445
Please reload this pagehttps://github.com/grantjenks/python-diskcache/pull/299
https://github.com/arieleiz
https://github.com/grantjenks
https://github.com/arieleizenberg
https://github.com
Termshttps://docs.github.com/site-policy/github-terms/github-terms-of-service
Privacyhttps://docs.github.com/site-policy/privacy-policies/github-privacy-statement
Securityhttps://github.com/security
Statushttps://www.githubstatus.com/
Communityhttps://github.community/
Docshttps://docs.github.com/
Contacthttps://support.github.com?tags=dotcom-footer

Viewport: width=device-width


URLs of crawlers that visited me.