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

fix: remove bloom filter check on Put call in blockstore #3782

Merged
merged 1 commit into from
Mar 16, 2017

Conversation

Kubuxu
Copy link
Member

@Kubuxu Kubuxu commented Mar 13, 2017

To prevent put we need to have conclusive information if item is
contained in the repo, bloom filter won't give this information.
It only says if it is for sure not contained.

License: MIT
Signed-off-by: Jakub Sztandera kubuxu@protonmail.ch

To prevent put we need to have conclusive information if item is
contained in the repo, bloom filter won't give this information.
It only says if it is for sure not contained.

License: MIT
Signed-off-by: Jakub Sztandera <kubuxu@protonmail.ch>
@Kubuxu Kubuxu added the status/in-progress In progress label Mar 13, 2017
@Kubuxu Kubuxu added this to the Ipfs 0.4.8 milestone Mar 13, 2017
Copy link
Member

@whyrusleeping whyrusleeping left a comment

Choose a reason for hiding this comment

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

👍 Test or two?

@Kubuxu
Copy link
Member Author

Kubuxu commented Mar 14, 2017

Really hard to tests as it essentially noop. It calls hasCached and expects has and ok to be both true, which can never happen.

@whyrusleeping
Copy link
Member

@Kubuxu ah, i see. Okay, LGTM

@whyrusleeping whyrusleeping merged commit 183d005 into master Mar 16, 2017
@whyrusleeping whyrusleeping deleted the fix/bloom/put-no-cache branch March 16, 2017 17:00
@whyrusleeping whyrusleeping removed the status/in-progress In progress label Mar 16, 2017
@Kubuxu
Copy link
Member Author

Kubuxu commented Mar 16, 2017

Yey, new merge window is open.

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