application-research / delta-importer

Import client for Delta
2 stars 1 forks source link

[Feature] Staging Dir #24

Closed jcace closed 1 year ago

jcace commented 1 year ago
  1. add a new flag to the daemon command, --staging-dir=/path/to/dir , which the user may set optionally
  2. if flag is specified, importing a carfile to Boost will first copy the file to the staging dir and use the temp. path as the import location
  3. when importing to boost, set the deleteAfterImport flag, so that Boost will automatically delete the file once it’s passed off to sealing system

All my car files are on slow storage. The problem is that each file must be read from this storage twice - the first time when checking Commp and the second time when adding to sector. Can you add the concept of “temporary storage for sealing”?

ref: https://filecoinproject.slack.com/archives/C03CKDLEWG1/p1685118828122699