You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
This repository was archived by the owner on Jan 7, 2022. It is now read-only.
Repository navigation
This repository was archived by the owner on Jan 7, 2022. It is now read-only.
Sorry, this is a bit hacky. Normally in dat-node we import "in-place" (e.g. files are just being scanned, not created). If files aren't imported in place, we set the indexing false. But those assumptions all fail in this case.
I may make false the default since this is definitely unexpected and not user friendly. But we had some unresolved TODOs around the indexing that I need to refresh myself on to see if we can solve more directly.
I thought this would also fix #164 but that seems to be a separate issue.
Activity
joehand commentedon Jul 20, 2017
@benrogmans you can address this for now by using the indexing option:
Sorry, this is a bit hacky. Normally in dat-node we import "in-place" (e.g. files are just being scanned, not created). If files aren't imported in place, we set the indexing false. But those assumptions all fail in this case.
I may make false the default since this is definitely unexpected and not user friendly. But we had some unresolved TODOs around the indexing that I need to refresh myself on to see if we can solve more directly.
I thought this would also fix #164 but that seems to be a separate issue.
fix importing 🐛, download concurrency option
Switch back to using dat.archive.writeFile
juliangruber commentedon Jan 26, 2018
found out more about this issue here: dat-ecosystem-archive/dat-storage#7.
With
{ indexing: true }, not just the files aren't created on disk, a followingdat.archive.readFile()also can't read them.This is a temporary fix for multidat: dat-ecosystem-archive/multidat@11b702b