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

perf(core): Fixing ristretto cache to pass jepsen tests #9237

Merged
merged 4 commits into from
Jan 13, 2025

Conversation

harshil-goel
Copy link
Contributor

@harshil-goel harshil-goel commented Dec 9, 2024

No description provided.

@harshil-goel harshil-goel requested a review from a team as a code owner December 9, 2024 05:43
@github-actions github-actions bot added area/testing Testing related issues area/core internal mechanisms go Pull requests that update Go code labels Dec 9, 2024
@harshil-goel harshil-goel force-pushed the harshil-goel/cache-new branch 2 times, most recently from 3f371a2 to 2d82ff3 Compare December 25, 2024 07:14
@harshil-goel harshil-goel force-pushed the harshil-goel/cache-new branch from 45c9b8b to 9d87eb4 Compare December 27, 2024 09:05
worker/sort_test.go Outdated Show resolved Hide resolved
dgraph/cmd/alpha/run.go Show resolved Hide resolved
go.mod Outdated Show resolved Hide resolved
posting/index.go Show resolved Hide resolved
posting/list.go Show resolved Hide resolved
posting/oracle.go Show resolved Hide resolved
posting/mvcc.go Outdated Show resolved Hide resolved
posting/mvcc.go Outdated Show resolved Hide resolved
posting/mvcc.go Outdated Show resolved Hide resolved
posting/mvcc.go Show resolved Hide resolved
posting/mvcc.go Outdated Show resolved Hide resolved
@harshil-goel harshil-goel force-pushed the harshil-goel/cache-new branch from b2b64b3 to 16f36d3 Compare January 8, 2025 07:43
@harshil-goel harshil-goel requested a review from a team as a code owner January 8, 2025 07:43
mangalaman93
mangalaman93 previously approved these changes Jan 8, 2025
@harshil-goel harshil-goel enabled auto-merge (squash) January 9, 2025 18:30
@harshil-goel harshil-goel disabled auto-merge January 9, 2025 18:31
@harshil-goel harshil-goel enabled auto-merge (squash) January 9, 2025 18:31
@harshil-goel harshil-goel merged commit ee99a7a into main Jan 13, 2025
16 checks passed
@harshil-goel harshil-goel deleted the harshil-goel/cache-new branch January 13, 2025 08:46
@@ -145,6 +145,8 @@ they form a Raft group and provide synchronous replication.
Flag("percentage",
"Cache percentages summing up to 100 for various caches (FORMAT: PostingListCache,"+
"PstoreBlockCache,PstoreIndexCache)").
Flag("keep-updates",
Copy link
Member

Choose a reason for hiding this comment

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

delete-on-update

On true, we delete the key from cache when an update is made to the same key. Otherwise, we do an in place update in cache.

what difference does this parameter make to Dgraph?

matthewmcneely added a commit that referenced this pull request Jan 15, 2025
commit 408e064
Author: Ryan Fox-Tyler <[email protected]>
Date:   Wed Jan 15 06:35:35 2025 -0800

    chore: init trunk (#9273)

    **Description**

    Initializing Trunk for formatting and linting across the repo

    **Checklist**

    - [X] Code compiles correctly and linting passes locally

commit ee60263
Author: renovate[bot] <29139614+renovate[bot]@users.noreply.github.com>
Date:   Wed Jan 15 13:23:32 2025 +0530

    chore(deps): Update go minor and patch (#9267)

commit 02b9d13
Author: Harshil Goel <[email protected]>
Date:   Mon Jan 13 18:31:26 2025 +0530

    fix(core): change name of config flag for cache (#9274)

commit ee99a7a
Author: Harshil Goel <[email protected]>
Date:   Mon Jan 13 14:16:40 2025 +0530

    perf(core): Fixing ristretto cache to pass jepsen tests (#9237)
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.

2 participants