-
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
feat: sealing: flag to run data_cid untied from addpiece #10797
Conversation
I ran some tests with this on a local network with all sealing tasks disabled on the internal Lotus-Miner worker:
I also did some other runs, checking that you can disable the dataCID-task when addpiece is enabled:
Potential enhancementsOne thing that I noted, was that when computing the dataCID there where no outputs in the lotus-workers log:
It would be nice if we could log every time a lotus-worker is running/computing a dataCID-task, so its easier to track where the dataCID task was run. |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Looks correct, tho two small comments.
The logging thing can be a separate PR, just adding a log to storage/sealer/worker_local.go
(really we could add structured logs for every task there, those will be more useful when we move away from the centralized scheduler)
I am running lotus-worker with this string: But there is stil no DC in supported tasks list:
|
Related Issues
#10351
Proposed Changes
data_cid flag that workers can use to enable/disable that task irrespective of addpiece. Backwards compat is maintained (addpiece starts data_cid)
Additional Info
CLI description of usage added.