-
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: worker: lotus-worker run --no-default #8672
Conversation
fe5b082
to
1d9571b
Compare
1d9571b
to
6b3bc8c
Compare
Codecov Report
@@ Coverage Diff @@
## master #8672 +/- ##
==========================================
- Coverage 40.94% 40.82% -0.12%
==========================================
Files 686 686
Lines 75750 75753 +3
==========================================
- Hits 31017 30928 -89
- Misses 39394 39481 +87
- Partials 5339 5344 +5
|
This is not going to work because if you use dedicated AP machines the PC1 will still need to do a Fetch - this will deadlock the job flow. I've modified it before to always by default use Fetch (but excluded the other defaults from workers) |
You should see fetch on workers with --no-default, we add it here: https://github.com/filecoin-project/lotus/pull/8672/files#diff-f711d6c89c998547913cc59960c1b32609adebd6800ff9b7589d5ac5bf459614R315 |
Aaah I misread. This just disables all the extra flags after it. I thought you disabled all the other defaults too, my bad 👍 |
308e640
to
abf8316
Compare
Related Issues
Proposed Changes
lotus-worker has gained quite a lot of task-type flags, most of which are opt-out, which is a bit annoying, especially when creating storage-only workers. This PR adds a new flag which makes compute tasks opt-in instead of opt-out:
PreCommit1 worker before:
PreCommit1 worker after:
Additional Info
Checklist
Before you mark the PR ready for review, please make sure that:
<PR type>: <area>: <change being made>
fix: mempool: Introduce a cache for valid signatures
PR type
: fix, feat, INTERFACE BREAKING CHANGE, CONSENSUS BREAKING, build, chore, ci, docs,perf, refactor, revert, style, testarea
: api, chain, state, vm, data transfer, market, mempool, message, block production, multisig, networking, paychan, proving, sealing, wallet, deps