Repository navigation
fix(query): avoid eager UID materialization on posting reads #9809
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Merged
matthewmcneely
merged 15 commits into
dgraph-io:main
from
gooohgb:fix-calculated-uids-materialization
Sep 10, 2026
Merged
Changes from all commits
Commits
Show all changes
15 commits
Select commit
Hold shift + click to select a range
90c2a53
Avoid eager UID materialization on posting reads
gooohgb 0453caf
fix: address calculated uid review feedback
gooohgb 7fee9f7
test: cover calculated uid precache decisions
gooohgb 6586b59
fix: serialize calculated uid cache warming
gooohgb 4319f30
perf: avoid write lock on warmed UID cache hits
gooohgb ed7084b
fix(posting): preserve negative first pagination
gooohgb 5e53669
perf(posting): warm cached UID slices off the published list's write …
matthewmcneely 617af32
perf(posting): copy the negative-first tail instead of pinning the wh…
matthewmcneely 735ef94
fix(worker): route the uid_in read through uidReadFirst
matthewmcneely e0b658d
fix(posting): stop applying a negative first to the posting read
matthewmcneely fc6364a
refactor(posting): drop the unreachable checks in the Uids tail
matthewmcneely 9396bf2
perf(posting): stop retrying a UID warm that cannot succeed
matthewmcneely 9684ac6
fix(worker): a negative offset must not shrink a bounded read
matthewmcneely 17b6a16
test(posting): assert slice identity in the warm handover
matthewmcneely 3ee5d24
docs(posting): state the copy-on-write guarantee where it actually holds
matthewmcneely File filter
Filter by extension
Conversations
Failed to load comments.
Loading
Jump to
Jump to file
Failed to load files.
Loading
Diff view
Diff view
There are no files selected for viewing
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Oops, something went wrong.
Oops, something went wrong.
Add this suggestion to a batch that can be applied as a single commit.
This suggestion is invalid because no changes were made to the code.
Suggestions cannot be applied while the pull request is closed.
Suggestions cannot be applied while viewing a subset of changes.
Only one suggestion per line can be applied in a batch.
Add this suggestion to a batch that can be applied as a single commit.
Applying suggestions on deleted lines is not supported.
You must change the existing code in this line in order to create a valid suggestion.
Outdated suggestions cannot be applied.
This suggestion has been applied or marked resolved.
Suggestions cannot be applied from pending reviews.
Suggestions cannot be applied on multi-line comments.
Suggestions cannot be applied while the pull request is queued to merge.
Suggestion cannot be applied right now. Please check back later.
Uh oh!
There was an error while loading. Please reload this page.