Skip to content
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

feat(core): Update caching mechanism of posting lists #9068

Open
wants to merge 15 commits into
base: main
Choose a base branch
from

Conversation

harshil-goel
Copy link
Contributor

Title format:

  • Topic(Area): Feature
  • Topic must be one of build|ci|docs|feat|fix|perf|refactor|chore|test
  • Area must be one of acl|audit|backup|badger|cdc|dql|export|graphql|indexing|multi-tenancy|raft|restore|upgrade|zero
    • Add [BREAKING] if it is a breaking change

Body Format:

Description:
Fixes:
Closes:
Docs:

@harshil-goel harshil-goel requested a review from a team as a code owner April 8, 2024 15:54
@dgraph-bot dgraph-bot added area/testing Testing related issues area/core internal mechanisms go Pull requests that update Go code labels Apr 8, 2024
posting/mvcc.go Outdated
// corresponding to the key in the cache to nil. So, if we get some non-nil value from the cache
// then it means that no writes have happened after the last set of this key in the cache.
if l, ok := countMap.list[string(key)]; ok {
if l != nil && l.maxTs < readTs {
Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

l.minTs < readTs

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
area/core internal mechanisms area/testing Testing related issues go Pull requests that update Go code
Development

Successfully merging this pull request may close these issues.

None yet

2 participants