Reported MFS size can be bigger than the size of repo
See original GitHub issuecc https://github.com/ipfs-shipyard/ipfs-webui/issues/1042, https://github.com/ipfs-shipyard/ipfs-webui/issues/629
MFS can store files in “lazy” fashion, which means root is added to MFS, but children are fetched lazily, on first use.
Example
English wikipedia mirror is ~650 GB. Lazy pointer to it can be added to MFS instantly via:
$ ipfs files cp /ipfs/QmXoypizjW3WknFiJnKLwHCnL72vedxjQkDDP1mXWo6uco /en.wikipedia-on-ipfs.org
Problem
This feature of MFS creates a problem in WebUI, it looks like “Files” take more space than “entire repo”:
This will become a problem when we start taking advantage of this lazy mode in website cohosting (discussed in https://github.com/ipfs-shipyard/cohosting/issues/6)
Solution?
We need to change the labels, make them more informative. Below is a quick mock that illustrates what additional information needs to be conveyed. The problem is that it does not look good, and we need to clean this up somehow.
Thoughts?
Issue Analytics
- State:
- Created 4 years ago
- Reactions:2
- Comments:8 (4 by maintainers)
Top GitHub Comments
I dont think this is a bug. It maybe confusing and need some UI adjust but behavior is correct.
Yup, dropping
all
is better 👍 I also would go with C, just for clarity’s sake: B introduces problem of having and pretty close to each other.