-
Notifications
You must be signed in to change notification settings - Fork 1.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
Provide storage miner with configurable path for offline deal data when staging for sealing. #5291
Comments
Can these files being removed safely ? |
@s0nik42 they should get removed as soon as the deal goes to Active. knowledge i gathered just from watching terminal windows while sealing offline deals - nothing 100% sure |
Exploring this code for the first time, going to leave some bread crumbs for anyone else interested in following along as I suspect some thoughtful design decisions will need to be made before proceeding with a solution.
The first ask here is to provide miner operators with the ability to configure their miners to use a path that is different than The second ask is for the storage provider to create more informative names. This will require code changes in go-fil-markets and I have filed filecoin-project/go-fil-markets#583 to address this. |
a subfolder in the LOTUS_MINER_PATH would be enough. doesn't need to be configurable - folders can just be linked to that location and the requirements of "using another location" would be fulfilled |
That's a much simpler change than the one I initially described. If that meets your needs, I will go with the simpler (subfolder) implementation instead. |
it's not user friendly but at least reverts the current logic of how to achieve this putting LOTUS_MINER_PATH on the target for the fstmp files and then link the rest of the miner into that folder. |
Issue1: When importing data for an offline deal the fstmp files are placed directly in the LOTUS_MINER_PATH (possibly in a sealing folder, not sure - but for sure not in a subfolder) folder. that robs miners of the possibility to organize offline deals well.
Issue2: the fstmp filenames are not useful.
To Reproduce
Steps to reproduce the behavior:
Expected behavior
The files in a folder one could link another disk/partition/location to. Files with a name connected to the deal/imported file-name
Version (run
lotus version
):Daemon: 1.4.0+git.e9989d0e4+api1.0.0
Local: lotus-miner version 1.4.0+git.e9989d0e4
Additional context
Nothing critical...
The text was updated successfully, but these errors were encountered: