René's URL Explorer Experiment


Title: [Order 01][P1] Fix cross-bucket contamination in snapshot candidate query · Issue #59 · NEventStore/NEventStore.Persistence.SQL · GitHub

Open Graph Title: [Order 01][P1] Fix cross-bucket contamination in snapshot candidate query · Issue #59 · NEventStore/NEventStore.Persistence.SQL

X Title: [Order 01][P1] Fix cross-bucket contamination in snapshot candidate query · Issue #59 · NEventStore/NEventStore.Persistence.SQL

Description: Priority order Order: 01 of 09 Priority: P1 correctness and performance Problem GetStreamsRequiringSnapshots can mix data across buckets. Evidence: src/NEventStore.Persistence.Sql/SqlDialects/CommonSqlStatements.resx:182 The query joins ...

Open Graph Description: Priority order Order: 01 of 09 Priority: P1 correctness and performance Problem GetStreamsRequiringSnapshots can mix data across buckets. Evidence: src/NEventStore.Persistence.Sql/SqlDialects/Commo...

X Description: Priority order Order: 01 of 09 Priority: P1 correctness and performance Problem GetStreamsRequiringSnapshots can mix data across buckets. Evidence: src/NEventStore.Persistence.Sql/SqlDialects/Commo...

Opengraph URL: https://github.com/NEventStore/NEventStore.Persistence.SQL/issues/59

X: @github

direct link

Domain: github.com


Hey, it has json ld scripts:
{"@context":"https://schema.org","@type":"DiscussionForumPosting","headline":"[Order 01][P1] Fix cross-bucket contamination in snapshot candidate query","articleBody":"## Priority order\n\nOrder: 01 of 09\nPriority: P1 correctness and performance\n\n## Problem\n\n`GetStreamsRequiringSnapshots` can mix data across buckets.\n\nEvidence:\n\n- `src/NEventStore.Persistence.Sql/SqlDialects/CommonSqlStatements.resx:182`\n- The query joins snapshots with `ON C.BucketId = @BucketId` but does not filter `Commits` with `WHERE C.BucketId = @BucketId`.\n- The snapshot join also omits `S.BucketId = C.BucketId`.\n\n## Impact\n\n- `GetStreamsToSnapshot(bucketId, threshold)` can return streams from other buckets.\n- Snapshots from another bucket with the same `StreamId` can change `SnapshotRevision`, hiding or creating snapshot candidates incorrectly.\n- The query groups more rows than needed on large multi-bucket stores.\n\n## Mandatory test-first workflow\n\n- Add failing sync and async acceptance tests first.\n- Tests must create the same `StreamId` in buckets `a` and `b`.\n- Tests must prove `GetStreamsToSnapshot(\"a\", ...)` does not return bucket `b` streams.\n- Tests must prove a snapshot in bucket `b` does not affect bucket `a` snapshot eligibility.\n- Do not change production SQL until the regression is covered.\n\n## Proposed action\n\n- Add `WHERE C.BucketId = @BucketId`.\n- Change the snapshot join to include `S.BucketId = C.BucketId`.\n- Keep the existing keyset paging predicate `C.StreamId \u003e @StreamId`.\n- Do not change Oracle SQL in this issue unless #58 is complete and Oracle tests are running; otherwise leave Oracle as a follow-up blocked by #58.\n\n## Acceptance criteria\n\n- New tests fail before the fix and pass after it.\n- Sync and async snapshot-candidate APIs behave consistently.\n- Provider-specific SQL remains covered by nearest provider tests.\n\nSource: `docs/Project-Analysis-Issue-Drafts.md`.","author":{"url":"https://github.com/AGiorgetti","@type":"Person","name":"AGiorgetti"},"datePublished":"2026-06-11T09:19:37.000Z","interactionStatistic":{"@type":"InteractionCounter","interactionType":"https://schema.org/CommentAction","userInteractionCount":1},"url":"https://github.com/59/NEventStore.Persistence.SQL/issues/59"}

route-pattern/_view_fragments/issues/show/:user_id/:repository/:id/issue_layout(.:format)
route-controllervoltron_issues_fragments
route-actionissue_layout
fetch-noncev2:29291f13-b12d-506c-9bf7-e0fd4196ab02
current-catalog-service-hash81bb79d38c15960b92d99bca9288a9108c7a47b18f2423d0f6438c5b7bcd2114
request-id9A36:6697C:309FD6:475255:6A4E0380
html-safe-nonce93c7ed4a60da47c96626887d1796a9134362418e431e6b347203d2c9f4c73c40
visitor-payloadeyJyZWZlcnJlciI6IiIsInJlcXVlc3RfaWQiOiI5QTM2OjY2OTdDOjMwOUZENjo0NzUyNTU6NkE0RTAzODAiLCJ2aXNpdG9yX2lkIjoiNDI5MTUyMzQ5ODUxNjI4NDI4OCIsInJlZ2lvbl9lZGdlIjoiaWFkIiwicmVnaW9uX3JlbmRlciI6ImlhZCJ9
visitor-hmac1d7a6f4381793d7ed2ede978783f689dbd5ffd5270dd0b678ad151dd5ddab009
hovercard-subject-tagissue:4639054830
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/NEventStore/NEventStore.Persistence.SQL/59/issue_layout
twitter:imagehttps://opengraph.githubassets.com/4dcea0dd95bdc235383b72085c87d60e072afa906661b634d56388a762d6faae/NEventStore/NEventStore.Persistence.SQL/issues/59
twitter:cardsummary_large_image
og:imagehttps://opengraph.githubassets.com/4dcea0dd95bdc235383b72085c87d60e072afa906661b634d56388a762d6faae/NEventStore/NEventStore.Persistence.SQL/issues/59
og:image:altPriority order Order: 01 of 09 Priority: P1 correctness and performance Problem GetStreamsRequiringSnapshots can mix data across buckets. Evidence: src/NEventStore.Persistence.Sql/SqlDialects/Commo...
og:image:width1200
og:image:height600
og:site_nameGitHub
og:typeobject
og:author:usernameAGiorgetti
hostnamegithub.com
expected-hostnamegithub.com
Nonedf0492960db29b4938cb72070351d6b1d0c6c0767b27ceb8394bbf4fcc0223c6
turbo-cache-controlno-preview
go-importgithub.com/NEventStore/NEventStore.Persistence.SQL git https://github.com/NEventStore/NEventStore.Persistence.SQL.git
octolytics-dimension-user_id4486767
octolytics-dimension-user_loginNEventStore
octolytics-dimension-repository_id36130556
octolytics-dimension-repository_nwoNEventStore/NEventStore.Persistence.SQL
octolytics-dimension-repository_publictrue
octolytics-dimension-repository_is_forkfalse
octolytics-dimension-repository_network_root_id36130556
octolytics-dimension-repository_network_root_nwoNEventStore/NEventStore.Persistence.SQL
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
release52bde38e24398476f8eb1e0760c81346c6a00812
ui-targetfull
theme-color#1e2327
color-schemelight dark

Links:

Skip to contenthttps://github.com/NEventStore/NEventStore.Persistence.SQL/issues/59#start-of-content
https://github.com/
Sign in https://github.com/login?return_to=https%3A%2F%2Fgithub.com%2FNEventStore%2FNEventStore.Persistence.SQL%2Fissues%2F59
GitHub CopilotWrite better code with AIhttps://github.com/features/copilot
GitHub Copilot appDirect agents from issue to mergehttps://github.com/features/ai/github-app
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
View all resourceshttps://github.com/resources
GitHub SponsorsFund open source developershttps://github.com/sponsors
Security Labhttps://securitylab.github.com
Maintainer Communityhttps://maintainers.github.com
Acceleratorhttps://github.com/accelerator
GitHub Starshttps://stars.github.com
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%2FNEventStore%2FNEventStore.Persistence.SQL%2Fissues%2F59
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=NEventStore%2FNEventStore.Persistence.SQL
Reloadhttps://github.com/NEventStore/NEventStore.Persistence.SQL/issues/59
Reloadhttps://github.com/NEventStore/NEventStore.Persistence.SQL/issues/59
Reloadhttps://github.com/NEventStore/NEventStore.Persistence.SQL/issues/59
Please reload this pagehttps://github.com/NEventStore/NEventStore.Persistence.SQL/issues/59
NEventStore https://github.com/NEventStore
NEventStore.Persistence.SQLhttps://github.com/NEventStore/NEventStore.Persistence.SQL
Notifications https://github.com/login?return_to=%2FNEventStore%2FNEventStore.Persistence.SQL
Fork 34 https://github.com/login?return_to=%2FNEventStore%2FNEventStore.Persistence.SQL
Star 10 https://github.com/login?return_to=%2FNEventStore%2FNEventStore.Persistence.SQL
Code https://github.com/NEventStore/NEventStore.Persistence.SQL
Issues 18 https://github.com/NEventStore/NEventStore.Persistence.SQL/issues
Pull requests 3 https://github.com/NEventStore/NEventStore.Persistence.SQL/pulls
Actions https://github.com/NEventStore/NEventStore.Persistence.SQL/actions
Projects https://github.com/NEventStore/NEventStore.Persistence.SQL/projects
Wiki https://github.com/NEventStore/NEventStore.Persistence.SQL/wiki
Security and quality 0 https://github.com/NEventStore/NEventStore.Persistence.SQL/security
Insights https://github.com/NEventStore/NEventStore.Persistence.SQL/pulse
Code https://github.com/NEventStore/NEventStore.Persistence.SQL
Issues https://github.com/NEventStore/NEventStore.Persistence.SQL/issues
Pull requests https://github.com/NEventStore/NEventStore.Persistence.SQL/pulls
Actions https://github.com/NEventStore/NEventStore.Persistence.SQL/actions
Projects https://github.com/NEventStore/NEventStore.Persistence.SQL/projects
Wiki https://github.com/NEventStore/NEventStore.Persistence.SQL/wiki
Security and quality https://github.com/NEventStore/NEventStore.Persistence.SQL/security
Insights https://github.com/NEventStore/NEventStore.Persistence.SQL/pulse
[Order 01][P1] Fix cross-bucket contamination in snapshot candidate queryhttps://github.com/NEventStore/NEventStore.Persistence.SQL/issues/59#top
https://github.com/AGiorgetti
https://github.com/AGiorgetti
AGiorgettihttps://github.com/AGiorgetti
on Jun 11, 2026https://github.com/NEventStore/NEventStore.Persistence.SQL/issues/59#issue-4639054830
[Order 03][P1] Research and enable Oracle integration test infrastructure #58https://github.com/NEventStore/NEventStore.Persistence.SQL/issues/58
[Order 03][P1] Research and enable Oracle integration test infrastructure #58https://github.com/NEventStore/NEventStore.Persistence.SQL/issues/58
AGiorgettihttps://github.com/AGiorgetti
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.