lotus/extern/sector-storage/stores/filetype.go:102
- input does not match format
lotus-miner/worker assumes any files in their sealing directory are valid sector files.
"We shouldn't fail to start if that happens" (comment on Slack by Magik6k)
To Reproduce
Accidentally put a random file in one of the sealing directories (worker3.log)
Get the following error.
Expected behavior
Ideally, any irrelevant files should be ignored.
Maybe move it to somewhere else with a warning.
Describe the bug https://filecoinproject.slack.com/archives/C0179RNEMU4/p1601273979184400
lotus-miner/worker assumes any files in their sealing directory are valid sector files. "We shouldn't fail to start if that happens" (comment on Slack by Magik6k)
To Reproduce
Expected behavior Ideally, any irrelevant files should be ignored. Maybe move it to somewhere else with a warning.
Version (run
lotus version
): v0.8.0Additional context Reported by https://filecoinproject.slack.com/team/U019G352QDC on slack.