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

Simplify Raft WAL storage caching #3102

Merged
merged 1 commit into from
Mar 6, 2019
Merged

Conversation

manishrjain
Copy link
Contributor

@manishrjain manishrjain commented Mar 6, 2019

Switch cache in raftwal to a sync.Map. Also put lastEntry behind the cache, considering how often it is called.


This change is Reviewable

@manishrjain manishrjain merged commit 840dad5 into master Mar 6, 2019
@manishrjain manishrjain deleted the mrjn/cache-for-raftwal branch March 6, 2019 01:09
manishrjain added a commit that referenced this pull request Mar 6, 2019
Switch cache in raftwal to a sync.Map. Also put lastEntry behind the cache, considering how often it is called.
dna2github pushed a commit to dna2fork/dgraph that referenced this pull request Jul 19, 2019
Switch cache in raftwal to a sync.Map. Also put lastEntry behind the cache, considering how often it is called.
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

1 participant