-
-
Notifications
You must be signed in to change notification settings - Fork 3k
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
Needed Filestore Command For Basic Implementation #3646
Comments
It seems I'm not sure what |
Basically but without the |
@kevina that could be pretty useful if we could find a way to skip ever adding the item in question to the blockstore. Basically ipfs download straight into the filestore |
Wouldn’t it be better to focus on getting FUSE stable enough and then symlink’ing there, or perhaps wrapping around that functionality with a cheap shell script?
|
@dokterbob Yeah, that would be really nice, but i feel thats likely more work (getting fuse very stable) than the filestore command. |
@whyrusleeping bypassing the blockstore could be possible but harder, my current implementation is more like a copy, the node will still be in the blockstore, it is simply faster because it avoids recomputing the hash for the children. |
What of the I've run into an issue where I added files via the filestore, changed the names, and then added them again, the daemon was reporting it could not find the files (it was still using the original names) and was not serving data for them from the new name, I added them to the blockstore to deal with it in the meantime since I wasn't sure how to remove them without doing a full gc. |
@whyrusleeping a good first step would be to merge #3815. I can then combine it with the |
related comment (#3629 (comment)) that was never addressed:
|
How does this currently work, or is there a doc somewhere about it? |
Not unless you remove those blocks. The current solution is to run verify and then remove all missing blocks manually. |
Relates to #3629
Fundamental:
ls
- list contents of filestoreverify
- verify blocks in filestorerm
- remove blocks from just the filestore - either than or enhanceblock rm
to support removing blocks from either the filestore or the main store. In either case is important that pinned blocks should be allowed to be removed from one store as long as they are also in the otherdups
- list blocks both in the main store in the filestore.Nice to have:
mv
move a block into the filestore. That is copy the block into the filesystem and add it to the filestore without having to rehash it.The text was updated successfully, but these errors were encountered: