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鈥檒l occasionally send you account related emails.

Already on GitHub? Sign in to your account

docs: note that ShardingEnabled is a global flag #7218

Merged
merged 1 commit into from Apr 26, 2020

Conversation

lidel
Copy link
Member

@lidel lidel commented Apr 26, 2020

This PR adds a note about global side effect of setting ShardingEnabled to true

Right now it is a global setting which will impact the final CID of all directories produced by ipfs.add

People may assume that HAMT sharding gets enabled only for directories over some arbitrary threshold.

(I did. And took me a moment to understand why CID of WebUI is no longer reproducible. Embarrassingly long moment.. 馃槵 )

cc ipfs/interface-go-ipfs-core#48

People may assume that HAMT gets enabled only for directories over some arbitrary threshold.
This is not the case. Right now it is a global setting 
which will impact the final CID of all directories produced by ipfs.add.
@Stebalien Stebalien merged commit 5fff291 into master Apr 26, 2020
@lidel lidel deleted the docs/clarify-sharding-sideeffects branch April 28, 2020 22:42
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.

None yet

2 participants