René's URL Explorer Experiment


Title: Seeing records that are malformed/corrupted after write · Issue #207 · lmdbjava/lmdbjava · GitHub

Open Graph Title: Seeing records that are malformed/corrupted after write · Issue #207 · lmdbjava/lmdbjava

X Title: Seeing records that are malformed/corrupted after write · Issue #207 · lmdbjava/lmdbjava

Description: Hey, we have a pretty simple lmdb setup - no env flags, all single-threaded, no nested transactions. This is running on many hosts which receive the same change streams and therefore make identical LMDB transactions. Each host will make ...

Open Graph Description: Hey, we have a pretty simple lmdb setup - no env flags, all single-threaded, no nested transactions. This is running on many hosts which receive the same change streams and therefore make identical...

X Description: Hey, we have a pretty simple lmdb setup - no env flags, all single-threaded, no nested transactions. This is running on many hosts which receive the same change streams and therefore make identical...

Opengraph URL: https://github.com/lmdbjava/lmdbjava/issues/207

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"Seeing records that are malformed/corrupted after write","articleBody":"Hey, we have a pretty simple lmdb setup - no env flags, all single-threaded, no nested transactions. This is running on many hosts which receive the same change streams and therefore make identical LMDB transactions. Each host will make at most ~400 write transactions per minute, and across the entire fleet, there are maybe like 100k transactions total per minute (just giving an idea of how rare this is, I've seen it happen about once per month at this volume). Transaction size is variable, could include anywhere from 1-1000 operations. But given that every host makes the same transactions, and seeing nothing out of the ordinary in the logs, it seems like there is some race condition or other intermittent bug with lmdbjava/our implementation/the OS. We've also confirmed that this doesn't match any existing bug with the C library.\r\n\r\nThe malformed records we see contain garbage data replacing the bytes from left to right:\r\n\r\nExample normal record (key, value):\r\n`(b'\\x1akey-prefix-129632d9951a047d9\\x1akey-prefix-8302eb7207a2c859d', b'\\x01\\x00\\x00\\x00\\x00\\x00\\x00\\x00\\x00')`\r\n \r\nExample malformed record:\r\n`(b'\\x80\\xe1.\\xad\\xc6\\x7f\\x00\\x00ix-60cf8260ecfb1741f\\x1akey-prefix-38357a98a4\\xf0\\x00\\x00\\x00\\x00\\x00', b'\\xe0\\xdd/\\xad\\xc6\\x7f\\x00\\x00\\x00')`\r\n \r\nThe presence of 7f seems to indicate these are virtual memory addresses.\r\n\r\nI've also run the [Verifier](https://github.com/lmdbjava/lmdbjava/blob/master/src/main/java/org/lmdbjava/Verifier.java) in our env for 1 hour for 61855873 rows and no errors. The issue hasn't been able to be reproduced.\r\n\r\nAny pointers on where else to look?\r\n","author":{"url":"https://github.com/2018ik","@type":"Person","name":"2018ik"},"datePublished":"2023-01-23T22:48:07.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":15},"url":"https://github.com/207/lmdbjava/issues/207"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:47ec261f-fdf7-d851-43c1-463f2997c278
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-idD16C:258F3F:2300679:2EE6808:696ECC68
html-safe-noncec01f187df94842d333fe0cb017b8fa369604585245a1590a4531e5dc277f720b
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiJEMTZDOjI1OEYzRjoyMzAwNjc5OjJFRTY4MDg6Njk2RUNDNjgiLCJ2aXNpdG9yX2lkIjoiNzAyMjc2NTAzODM5MTAwMDA4IiwicmVnaW9uX2VkZ2UiOiJpYWQiLCJyZWdpb25fcmVuZGVyIjoiaWFkIn0=
visitor-hmac1d71f8693d38db506c155bb1bcc0b69a67effe7f2c941ed4b0630b635ed6e21f
hovercard-subject-tagissue:1553956285
github-keyboard-shortcutsrepository,issues,copilot
google-site-verificationApib7-x98H0j5cPqHWwSMm6dNU4GmODRoqxLiDzdx9I
octolytics-urlhttps://collector.github.com/github/collect
analytics-location///voltron/issues_fragments/issue_layout
fb:app_id1401488693436528
apple-itunes-appapp-id=1477376905, app-argument=https://github.com/_view_fragments/issues/show/lmdbjava/lmdbjava/207/issue_layout
twitter:imagehttps://opengraph.githubassets.com/5de94cdd7613c839c8cc4fdca1a21b3cd37c9b4f58382ecb3dc33441607900ad/lmdbjava/lmdbjava/issues/207
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/5de94cdd7613c839c8cc4fdca1a21b3cd37c9b4f58382ecb3dc33441607900ad/lmdbjava/lmdbjava/issues/207
og:image:altHey, we have a pretty simple lmdb setup - no env flags, all single-threaded, no nested transactions. This is running on many hosts which receive the same change streams and therefore make identical...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:username2018ik
hostnamegithub.com
expected-hostnamegithub.com
Noneb278ad162d35332b6de714dfb005de04386c4d92df6475522bef910f491a35ee
turbo-cache-controlno-preview
go-importgithub.com/lmdbjava/lmdbjava git https://github.com/lmdbjava/lmdbjava.git
octolytics-dimension-user_id19765602
octolytics-dimension-user_loginlmdbjava
octolytics-dimension-repository_id60480511
octolytics-dimension-repository_nwolmdbjava/lmdbjava
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id60480511
octolytics-dimension-repository_network_root_nwolmdbjava/lmdbjava
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
release39aed5006635ab6f45e6b77d23e73b08a00272a3
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/lmdbjava/lmdbjava/issues/207#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2Flmdbjava%2Flmdbjava%2Fissues%2F207
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%2Flmdbjava%2Flmdbjava%2Fissues%2F207
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%2Fissues_fragments%2Fissue_layout&source=header-repo&source_repo=lmdbjava%2Flmdbjava
Reloadhttps://github.com/lmdbjava/lmdbjava/issues/207
Reloadhttps://github.com/lmdbjava/lmdbjava/issues/207
Reloadhttps://github.com/lmdbjava/lmdbjava/issues/207
lmdbjava https://github.com/lmdbjava
lmdbjavahttps://github.com/lmdbjava/lmdbjava
Notifications https://github.com/login?return_to=%2Flmdbjava%2Flmdbjava
Fork 124 https://github.com/login?return_to=%2Flmdbjava%2Flmdbjava
Star 866 https://github.com/login?return_to=%2Flmdbjava%2Flmdbjava
Code https://github.com/lmdbjava/lmdbjava
Issues 8 https://github.com/lmdbjava/lmdbjava/issues
Pull requests 1 https://github.com/lmdbjava/lmdbjava/pulls
Actions https://github.com/lmdbjava/lmdbjava/actions
Projects 0 https://github.com/lmdbjava/lmdbjava/projects
Wiki https://github.com/lmdbjava/lmdbjava/wiki
Security Uh oh! There was an error while loading. Please reload this page. https://github.com/lmdbjava/lmdbjava/security
Please reload this pagehttps://github.com/lmdbjava/lmdbjava/issues/207
Insights https://github.com/lmdbjava/lmdbjava/pulse
Code https://github.com/lmdbjava/lmdbjava
Issues https://github.com/lmdbjava/lmdbjava/issues
Pull requests https://github.com/lmdbjava/lmdbjava/pulls
Actions https://github.com/lmdbjava/lmdbjava/actions
Projects https://github.com/lmdbjava/lmdbjava/projects
Wiki https://github.com/lmdbjava/lmdbjava/wiki
Security https://github.com/lmdbjava/lmdbjava/security
Insights https://github.com/lmdbjava/lmdbjava/pulse
New issuehttps://github.com/login?return_to=https://github.com/lmdbjava/lmdbjava/issues/207
New issuehttps://github.com/login?return_to=https://github.com/lmdbjava/lmdbjava/issues/207
Seeing records that are malformed/corrupted after writehttps://github.com/lmdbjava/lmdbjava/issues/207#top
questionQueries on usage of the library, architectural patterns and alikehttps://github.com/lmdbjava/lmdbjava/issues?q=state%3Aopen%20label%3A%22question%22
https://github.com/2018ik
https://github.com/2018ik
2018ikhttps://github.com/2018ik
on Jan 23, 2023https://github.com/lmdbjava/lmdbjava/issues/207#issue-1553956285
Verifierhttps://github.com/lmdbjava/lmdbjava/blob/master/src/main/java/org/lmdbjava/Verifier.java
questionQueries on usage of the library, architectural patterns and alikehttps://github.com/lmdbjava/lmdbjava/issues?q=state%3Aopen%20label%3A%22question%22
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.