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

Evict method for Views #42

Merged
merged 1 commit into from
Oct 4, 2017
Merged

Evict method for Views #42

merged 1 commit into from
Oct 4, 2017

Conversation

SamiHiltunen
Copy link
Contributor

  • Adds an Evict method for Views. Evict clears the key from the
    local cache.

mocks.go Outdated
}

func NewConstHasher(part int32) hash.Hash32 {
return &constHasher{partition: part}
Copy link
Contributor

Choose a reason for hiding this comment

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

if the const hasher is initialized with the partiton, shouldn't it be used then somewhere?

Copy link
Contributor Author

Choose a reason for hiding this comment

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

good catch, fixed

* Adds an Evict method for Views. Evict clears the key from the
  local cache.
@SamiHiltunen SamiHiltunen merged commit dc04b8f into master Oct 4, 2017
@db7 db7 deleted the view-evict branch October 9, 2017 15:19
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants