Phi
509c44d446
fix: ux: msg receipt for actor withdrawal
...
Prints the message receipt when withdrawing from the miner-actor. Also highlights that the command is waiting for the message to be included in a block.
2022-08-11 09:34:18 +02:00
Łukasz Magiera
cb2b4fa4aa
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 21:26:15 +02:00
Łukasz Magiera
11e4914531
Merge branch 'feat/SchedRemoveRequest' of github.com:LexLuthr/lotus into LexLuthr-feat/SchedRemoveRequest
2022-08-05 10:40:45 +02:00
Łukasz Magiera
e51904555b
Merge pull request #9072 from zl03jsj/fix/zl/cli/list-miner-control-addresses-fail-if-have-robust-address
...
fix: cli: `./lotus-miner actor control list`, if the `owner` is not account
2022-08-05 09:29:23 +02:00
Łukasz Magiera
e196742ece
cli: Update docsgen, don't require args in storage redeclare
2022-08-05 09:05:46 +02:00
Łukasz Magiera
819314de46
Merge remote-tracking branch 'origin/master' into feat/storage-redeclare
2022-08-05 09:01:30 +02:00
zl
1fdd324efc
just show actor id, if actor is not an account
2022-08-04 16:14:56 +08:00
LexLuthr
cdc08e566f
fix everything pointed as per review
2022-08-04 02:00:24 +05:30
LexLuthr
c736dedfa6
move requestremove inside runSched
2022-08-04 02:00:24 +05:30
Łukasz Magiera
453b454b7b
Merge pull request #9109 from filecoin-project/feat/dlinfo-enchantments
...
feat: miner cli: proving deadline command enchantments
2022-08-03 20:54:08 +02:00
Łukasz Magiera
4818d78432
cli: Put bitfield stats in 'proving deadline' behind a flag
2022-08-03 11:06:05 +02:00
Łukasz Magiera
eb366c6aa0
fix typo in storage detach cmd
2022-08-02 15:18:24 +02:00
Łukasz Magiera
9a5ca5017b
gen
2022-08-02 10:45:20 +02:00
Łukasz Magiera
4548cea000
cli: More verbose deadline command
2022-08-02 10:40:34 +02:00
Łukasz Magiera
8c1d1bfd4a
cli: show live sectors in the deadlines command by default
2022-08-02 10:15:12 +02:00
Łukasz Magiera
65ba7bd37d
cli: clueanup deadlines command
2022-08-02 10:12:24 +02:00
Łukasz Magiera
b3cce636cc
Merge branch 'Feat/add_provingDeadline_option' of github.com:beck-8/lotus into feat/dlinfo-enchantments
2022-08-02 10:06:48 +02:00
LexLuthr
f5a7a650e7
rename to ActorWithdrawBalance
2022-08-02 13:04:54 +05:30
LexLuthr
e0e0b0b62f
don't wait for msg to land on chain
2022-08-01 23:41:24 +05:30
Łukasz Magiera
8cff52aef6
Storage detach/attach in lotus-miner, cli commands
2022-08-01 15:58:06 +02:00
LexLuthr
4f03486011
miner withdrawbalance API
2022-07-29 20:09:49 +05:30
zl
179efaf447
fix: command: ./lotus-miner actor control list
, if the owner
is multisig.
2022-07-21 14:14:52 +08:00
beck
6583a44a92
reduce redundant code
2022-07-20 10:21:52 +08:00
Łukasz Magiera
ac2ea039b5
path index: Raise alerts on bad filter config
2022-07-12 21:45:12 +02:00
Łukasz Magiera
43db2fb8a4
miner cli: Print allow/deny types in storage list
2022-07-12 21:45:12 +02:00
Łukasz Magiera
2e7a2b184d
Merge pull request #8952 from filecoin-project/feat/prov-dl-info-nums
...
feat: cli: Hide sector nums in 'proving deadline' by default
2022-07-04 15:03:53 +02:00
Łukasz Magiera
9ad7276dc9
feat: cli: Hide sector nums in 'proving deadline' by default
2022-07-04 14:46:48 +02:00
Łukasz Magiera
d5206aa2fc
Merge pull request #8954 from filecoin-project/feat/prov-info-time
...
ux: print absolute time for proving period start in proving cli
2022-07-04 14:35:05 +02:00
Phi
a1675a8230
ux: cli: add compute description
...
Add description to the `lotus-miner proving compute` command.
2022-07-03 11:51:50 +02:00
Łukasz Magiera
9bfb370892
ux: print absolute time for proving period start in proving cli
2022-07-01 18:45:29 +02:00
Łukasz Magiera
58416d0881
storage: Don't depend on specs-storage, move to storiface
2022-06-17 13:36:33 +02:00
Łukasz Magiera
05cdeb80c3
chore: remove redundant import prefixes
2022-06-15 12:06:22 +02:00
Łukasz Magiera
39cede946c
chore: Fix more imports with '2' suffix
2022-06-14 21:37:54 +02:00
Łukasz Magiera
28099a3905
storage: Move storage/sealer/stores to storage/paths
2022-06-14 20:25:52 +02:00
Łukasz Magiera
a9600b8a6f
storage: Move extern/sector-storage to storage/sealer
2022-06-14 20:03:38 +02:00
Łukasz Magiera
98a48a47f8
storage: Move extern/storage-sealing to storage/pipeline
2022-06-14 19:41:59 +02:00
Łukasz Magiera
e65fae28de
chore: fix imports
2022-06-14 17:00:51 +02:00
Steven Allen
30981d0fdd
feat: refactor: actor bundling system ( #8838 )
...
1. Include the builtin-actors in the lotus source tree.
2. Embed the bundle on build instead of downloading at runtime.
3. Avoid reading the bundle whenever possible by including bundle
metadata (the bundle CID, the actor CIDs, etc.).
4. Remove everything related to dependency injection.
1. We're no longer downloading the bundle, so doing anything ahead
of time doesn't really help.
2. We register the manifests on init because, unfortunately, they're
global.
3. We explicitly load the current actors bundle in the genesis
state-tree method.
4. For testing, we just change the in-use bundle with a bit of a
hack. It's not great, but using dependency injection doesn't make
any sense either because, again, the manifest information is
global.
5. Remove the bundle.toml file. Bundles may be overridden by
specifying an override path in the parameters file, or an
environment variable.
fixes #8701
2022-06-13 10:15:00 -07:00
Aayush
b28c11a57d
Merge branch 'feat/nv16'
2022-06-03 14:01:49 -04:00
Łukasz Magiera
3de6856058
feat: cli: Nicer net stat
2022-06-02 16:54:56 +02:00
Jennifer Wang
2e59d0129d
Merge branch 'release/v1.15.3' into jen/mergev1153to16
2022-05-31 16:33:18 -04:00
Geoff Stuart
7bf9ce2f2f
review fixes
2022-05-25 16:42:50 -04:00
Łukasz Magiera
2bdc729fe7
Merge remote-tracking branch 'origin/master' into feat/worker-task-count-limits
2022-05-25 18:25:15 +02:00
Łukasz Magiera
083c7421ce
feat: sched: Worker task count limits for all task types
2022-05-25 16:31:26 +02:00
beck
43ec14fa9c
Feat/add provingDeadlineInfoCmd live option
2022-05-25 11:12:32 +08:00
beck
2375df2b62
Feat/add provingDeadlinesCmd live option
2022-05-25 11:11:23 +08:00
Geoff Stuart
354719327b
Add generate-and-send-consensus-fault command to cli
2022-05-24 14:41:13 -04:00
Łukasz Magiera
b53db68bda
fix lint
2022-05-24 16:22:52 +02:00
Łukasz Magiera
7054475c00
ffiwrapper: Handle null padding in DataCid automatically
2022-05-24 15:59:11 +02:00
Łukasz Magiera
3fa2ada987
support http in lotus-miner sealing data-cid
2022-05-24 15:47:49 +02:00
Łukasz Magiera
bacaccc378
feat: miner cli: sealing data-cid command
2022-05-24 15:07:53 +02:00
Łukasz Magiera
58055987a3
Merge pull request #8696 from swift-mx/mx_precommits_info
...
feat: precommits info
2022-05-23 18:41:43 +02:00
Geoff Stuart
6216fae0f8
Implement cli command for compactPartitions
2022-05-23 18:23:02 +02:00
swift-mx
ae8f3d8fe2
Update cmd/lotus-miner/precommits-info.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-05-24 00:12:09 +08:00
swift-mx
0b3ee32ce4
Update cmd/lotus-miner/precommits-info.go
...
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2022-05-24 00:11:59 +08:00
swift-mx
ea282ea055
feat: precommits info
2022-05-23 12:54:00 +08:00
unknown
c4cfb7a296
scheduling optimization
2022-05-20 17:04:51 +08:00
Geoff Stuart
3c61b3d841
compact
2022-05-18 21:31:54 -04:00
Aayush
8cca9b1970
Use new go-state-types accessors
2022-05-17 15:21:27 -04:00
LexLuthr
4326fc370b
add the new subcommand
2022-05-13 00:02:17 +05:30
LexLuthr
7e492f23b1
add dagstore register-shard command
2022-05-12 19:46:53 +05:30
vyzo
7be42d9935
refactor to pass the network bundle name through ldflags from build
2022-05-12 16:42:59 +03:00
vyzo
74f300290e
dynamic loading of builtin actor bundles
2022-05-11 22:30:07 +03:00
Geoff Stuart
514c756570
Alias cli commands
2022-05-03 15:46:46 -04:00
vyzo
beb3369c76
add LoadManifestFromBundle, use it in miner init
2022-04-15 20:15:28 +03:00
vyzo
6bd2d89e30
use memory blockstore for miner manifest loading
2022-04-14 19:34:26 +03:00
vyzo
395c772222
make the miner load the manifest so that it can correctly map actors
2022-04-14 19:34:26 +03:00
Aayush
339b7db2b7
Integrate FIP 0027
2022-04-14 19:32:56 +03:00
Łukasz Magiera
ebd34f1884
feat: storage: Parallel proving checks
2022-03-29 11:45:08 -04:00
Łukasz Magiera
54cb55a7ae
feat: miner: API/CLI to compute window-post
2022-03-28 17:06:51 -04:00
Łukasz Magiera
a709a0a682
Merge pull request #8384 from rjan90/fix/change-worker-msg
...
fix: ux: Change Propose-worker msg
2022-03-28 12:57:01 -04:00
Rjan
e2781ea0f2
Change test to reflect renaming
...
Change what string the TestWorkerKeyChange-test is looking for, to reflect the new Propose-worker msg-changes
2022-03-28 10:04:47 +02:00
Rjan
555ff81cbf
Add punctuation.
2022-03-28 09:46:08 +02:00
Rjan
bfc2cc3aa3
fix: ux: Change Propose-worker msg
...
Changes the message so it´s clear that it´s only Storage Providers without active deadlines that needs to call 'confirm-change-worker'.
2022-03-28 08:18:30 +02:00
Łukasz Magiera
ad684ed0ea
feat: miner cli: Separate proving workers command
2022-03-26 16:16:25 -04:00
Łukasz Magiera
82343a06e7
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-25 16:49:46 -04:00
Łukasz Magiera
d437f19aae
Merge pull request #8349 from filecoin-project/feat/faulty-cli-utils
...
feat: miner cli: proving check --faulty, faults in storage list sectors
2022-03-25 15:29:27 -04:00
Łukasz Magiera
a53dc5a7c7
workers: WorkerType mehdod on SealTask
2022-03-24 18:28:45 -04:00
Geoff Stuart
5ba4a78657
--max-piece-size in set-ask is no longer required
2022-03-22 22:05:06 -04:00
Łukasz Magiera
cca69a6c16
gen
2022-03-21 10:49:30 +01:00
Łukasz Magiera
9a31b65cd0
feat: miner cli: proving check --faulty, faults in storage list sectors
2022-03-19 12:55:52 +01:00
Łukasz Magiera
5365ccfdb1
cli: Show separate worker types in miner info
2022-03-18 21:31:15 +01:00
Łukasz Magiera
6ddbe41376
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-18 10:54:44 +01:00
Łukasz Magiera
ff14cd3f9d
fix: Estimate deal weight in sector list when upgrading
2022-03-17 14:52:54 +01:00
Łukasz Magiera
a3bdd29615
Merge pull request #8330 from filecoin-project/feat/snap-queue
...
feat: sealing: Sector upgrade queue
2022-03-16 22:24:45 +01:00
Łukasz Magiera
a431fdbdde
miner cli: Treat Activating sectors like Proving in sectors list
2022-03-16 22:16:39 +01:00
Darko Brdareski
79453663b3
feat: Add additional test annotations ( #8272 )
...
* Annotate api,proxy_util,blockstore_badger, policy tests
* Annotate splitstore: bsbadger / markset
* Annotate splitstore feature
* Annotate union/timed blockstore tests
* Annotate openrpc, diff_adt tests
* Annotate error,drand,events tests
* Annotate predicates_test
* Fix annotations
* Annotate tscache, gen tests
* Annotate fundmanager test
* Annotate repub and selection tests
* Annotate statetree_test
* Annotate forks_test
* Annotate searchwait_test.go
* Fix duplicated @@ symbols
* Annotate chain stmgr/store tests
* Annotate more (types) tests
* More tests annotated
* Annotate conformance chaos actor tests
* Annotate more integration tests
* Annotate journal system tests
* Annotate more tests.
* Annotate gas,head buffer behaviors
* Fix markset annotations
* doc: test annotations for the markets dagstore wrapper
* Annotate miner_api test in dagstore
* Annotate more test files
* Remove bad annotations from fsrepo
* Annotate wdpost system
* Remove bad annotations
* Renamce "conformance" to "chaos_actor" tests
* doc: stm annotations for blockheader & election proof tests
* Annotate remaining "A" tests
* annotate: stm for error_test
* memrepo_test.go
* Annotate "b" file tests
* message_test.go
* doc: stm annotate for fsrepo_test
* Annotate "c" file tests
* Annotate "D" test files
* message_test.go
* doc: stm annotate for chain, node/config & client
* docs: stm annotate node_test
* Annotate u,v,wl tests
* doc: stm annotations for various test files
* Annotate "T" test files
* doc: stm annotate for proxy_util_test & policy_test
* doc: stm annotate for various tests
* doc: final few stm annotations
* Add mempool unit tests
* Add two more memPool Add tests
* Update submodules
* Add check function tests
* Add stm annotations, refactor test helper
* Annotate api,proxy_util,blockstore_badger, policy tests
* Annotate splitstore: bsbadger / markset
solving merge conflicts
* Annotate splitstore feature
* Annotate union/timed blockstore tests
* Annotate openrpc, diff_adt tests
* Annotate error,drand,events tests
* Annotate predicates_test
* Fix annotations
* Annotate tscache, gen tests
* Annotate fundmanager test
* Annotate statetree_test
* Annotate forks_test
* Annotate searchwait_test.go
* Fix duplicated @@ symbols
* Annotate chain stmgr/store tests
* Annotate more (types) tests
* More tests annotated
* Annotate conformance chaos actor tests
* Annotate more integration tests
* Annotate journal system tests
* Annotate more tests.
* Annotate gas,head buffer behaviors
solve merge conflict
* Fix markset annotations
* Annotate miner_api test in dagstore
* Annotate more test files
* doc: test annotations for the markets dagstore wrapper
* Annotate wdpost system
* Renamce "conformance" to "chaos_actor" tests
* Annotate remaining "A" tests
* doc: stm annotations for blockheader & election proof tests
* annotate: stm for error_test
* Annotate "b" file tests
* memrepo_test.go
* Annotate "c" file tests
* message_test.go
* Annotate "D" test files
* doc: stm annotate for fsrepo_test
* Annotate u,v,wl tests
* message_test.go
* doc: stm annotate for chain, node/config & client
* docs: stm annotate node_test
* Annotate "T" test files
* doc: stm annotations for various test files
* Add mempool unit tests
solve merge conflict
* doc: stm annotate for proxy_util_test & policy_test
* doc: stm annotate for various tests
* doc: final few stm annotations
* Add two more memPool Add tests
* Update submodules
* Add check function tests
solve conflict
* Add stm annotations, refactor test helper
solve merge conflict
* Change CLI test kinds to "unit"
* Fix double merged test
* Fix ccupgrade_test merge
* Fix lint issues
* Add stm annotation to types_Test
* Test vectors submodule
* Add file annotation to burn_test
Co-authored-by: Nikola Divic <divicnikola@gmail.com>
Co-authored-by: TheMenko <themenkoprojects@gmail.com>
2022-03-16 18:37:34 +01:00
Łukasz Magiera
aef2ec513f
feat: sealing: Sector upgrade queue
2022-03-16 17:33:05 +01:00
Łukasz Magiera
9f6f94bd02
Merge pull request #8215 from filecoin-project/feat/remove-mark-for-upgrade
...
chore:sealing:remove endpoint from cli
2022-03-16 15:33:21 +01:00
Łukasz Magiera
c6bda0e5d4
fix: storage cli: Output primary sector status correctly
2022-03-15 14:29:21 +01:00
Łukasz Magiera
ce99aad438
Fix provingCheckProvableCmd
2022-03-11 18:13:51 +01:00
Łukasz Magiera
046a9f8af0
Merge remote-tracking branch 'origin/master' into feat/post-worker
2022-03-09 16:27:03 +01:00
Łukasz Magiera
5416ce5443
Merge pull request #7313 from filecoin-project/feat/cid-to-piece-idx
...
feat: markets: Integrate index ingest protocol and retrieve by any CID
2022-03-03 16:50:35 +00:00
zenground0
874124c4e7
Handle finalize failures in fsm
2022-03-02 09:33:33 -07:00
Masih H. Derkani
769b0f30ef
Address review comments
...
- Add comment to clarify the reason for loop in testkit
- Trim common prefix in state printed in CLI commands for better
readability
- Upgrade to a tagged release of `go-fil-markets` that includes indexing
work; see: https://github.com/filecoin-project/go-fil-markets/pull/673
- Fix typo in CLI usage.
- Add comments to note that it is safe to use fx `OnStart` context when
starting the provider engine.
- Fix string concatenation in error message formatting.
2022-03-02 11:04:50 +00:00
zenground0
a463c90057
remove endpoint from cli
2022-03-01 11:27:03 -07:00
zenground0
77a954c7c3
Merge branch 'master' into feat/cid-to-piece-idx
2022-02-28 12:57:11 -07:00
duzy555666
296ae4305f
avoid panic
2022-02-28 16:51:15 +08:00
jennijuju
52756128da
add flag usage
2022-02-25 10:49:18 -05:00
zenground0
367146f032
add rdi flag for abort upgrade
2022-02-24 15:20:21 -07:00
zenground0
abe04c33c1
Fix fault tracker to handle snap deals
2022-02-23 09:56:47 -07:00
Aarsh Shah
e3f5b7c59f
update dagstore top level index db
2022-02-18 14:00:01 +04:00
Łukasz Magiera
c974872494
lotus-miner: More sector-related data in info all
2022-02-17 16:35:09 +01:00
Łukasz Magiera
7823363bba
lotus-miner: Support update files in storage find
2022-02-17 16:29:27 +01:00
Łukasz Magiera
6f21a10a56
Merge pull request #8098 from filecoin-project/feat/sectorlist-pledge
...
feat: lotus-miner sectors list --initial-pledge
2022-02-15 16:44:49 +01:00
Łukasz Magiera
a3e785cb4a
Merge pull request #8057 from mtelka/info-noadmin
...
fix: state: Allow lotus-miner info to complete without admin permission
2022-02-15 15:00:29 +01:00
Łukasz Magiera
0b7addc031
lotus-miner sectors list --initial-pledge
2022-02-15 14:21:30 +01:00
Aayush
eebe784191
fix: sealer: allow enable/disabling ReplicaUpdate tasks
2022-02-14 15:08:28 -05:00
Marcel Telka
3c82ee49c0
Allow lotus-miner info to complete without admin permission
2022-02-10 12:45:57 +01:00
Jennifer Wang
de1f4792cd
Merge remote-tracking branch 'origin/master' into jen/v15
2022-02-09 19:27:34 -05:00
Łukasz Magiera
947000c94f
fsm: Call ReleaseSectorKey after WinningPoSt lookback period
2022-02-09 12:41:39 +01:00
Jennifer Wang
6ed97f0d04
Merge branch 'release/v1.14.0' into jen/v15
2022-02-09 03:17:38 -05:00
Aayush
1b18236f91
feat: sealer: allow users to abort in-flight snap upgrades
2022-01-25 13:01:51 -05:00
Aarsh Shah
9ee940098d
Merge remote-tracking branch 'origin/master' into feat/cid-to-piece-idx
2022-01-20 16:21:48 +04:00
Łukasz Magiera
b38141601c
Untangle ffi from api
2022-01-18 11:57:04 +01:00
Aayush Rajasekaran
51b4458d32
Resolve conflict
2022-01-14 17:18:47 -05:00
Aayush Rajasekaran
e4cb68e05d
format
2022-01-14 17:14:32 -05:00
Jennifer Wang
60cf2a71cf
fix lint
2022-01-14 17:14:32 -05:00
Jennifer Wang
87babdf3e7
Disable mark-for-upgrade two days before the network v15 OhSnap upgrade to avoid unexpected edge cases that may cause deal/sector failure
2022-01-14 17:14:32 -05:00
zenground0
d6aa17e21f
Snap Deals Integration
...
- FSM handles the actual cc upgrade process including error states
- PoSting (winning and window) works over upgraded and upgrading sectors
- Integration test and changes to itest framework to reduce flakes
- Update CLI to handle new upgrade
- Update dependencies
2022-01-14 17:14:32 -05:00
Aayush Rajasekaran
52411b12e3
Resolve conflict
2022-01-12 19:15:56 -05:00
Aarsh Shah
8c8652e7bb
add a new cli
2022-01-12 18:06:48 +04:00
Aarsh Shah
edfc2c215c
Merge remote-tracking branch 'origin/main' into feat/cid-to-piece-idx
2022-01-12 12:48:54 +04:00
Aayush Rajasekaran
1e24ef4d0d
format
2022-01-11 12:50:34 -05:00
Jiaying Wang
93653d9a58
Merge branch 'feat/snap-deals' into 7891
2022-01-10 22:22:46 -05:00
zenground0
33f2d24f54
Snap Deals Integration
...
- FSM handles the actual cc upgrade process including error states
- PoSting (winning and window) works over upgraded and upgrading sectors
- Integration test and changes to itest framework to reduce flakes
- Update CLI to handle new upgrade
- Update dependencies
2022-01-10 15:39:38 +05:30
Jennifer Wang
bf23e59900
fix lint
2022-01-07 18:24:57 -05:00
Jennifer Wang
c578efaabd
Disable mark-for-upgrade two days before the network v15 OhSnap upgrade to avoid unexpected edge cases that may cause deal/sector failure
2022-01-07 18:05:36 -05:00
zenground0
61e173215b
Snap Deals Integration
...
- FSM handles the actual cc upgrade process including error states
- PoSting (winning and window) works over upgraded and upgrading sectors
- Integration test and changes to itest framework to reduce flakes
- Update CLI to handle new upgrade
- Update dependencies
2022-01-05 03:10:31 -05:00
hannahhoward
ced22687eb
fix(cmd): fix cli peer decoding
2021-12-22 13:41:56 -08:00
hannahhoward
cddf63efe9
feat(storageminer): add api for transfer diagnostics
...
Add API + CLI for inspecting in depth diagnostics on graphsync transfers with a given peer
2021-12-22 13:41:29 -08:00
Aayush Rajasekaran
dd20829dbe
Merge pull request #7762 from filecoin-project/feat/sectors-update-state-guard
...
sectors update-state checks if sector exists before changing its state
2021-12-17 19:21:26 -05:00
gstuart
27e48d73dd
Check if sector exists before changing its state
2021-12-17 14:32:18 -05:00
vyzo
dd327f0b22
plumb more contexts
2021-12-17 11:42:09 +02:00
Aayush Rajasekaran
0e2278cc76
Merge branch 'master' into deps/update-ctx-dsbs
2021-12-14 18:08:29 -05:00
vyzo
2e057b8f52
plumb contexts in lotus-miner
2021-12-13 14:28:29 +02:00
gstuart
21e6c963ab
Sort lotus-miner retrieval-deals by dealId
2021-12-09 19:53:13 -05:00
Łukasz Magiera
727765b248
Command to list active sector locks
2021-12-03 12:33:23 +01:00
hannahhoward
bfd1099ef3
fix(main): fix bug in startup when tracing is not present
2021-12-01 18:53:00 -08:00
hannahhoward
f3b691d618
feat(tracing): switch to OpenTelemetry
...
Switch the underlying tracing library to OpenTelemetry, with a bridge to OpenCensus for
compatibility
2021-12-01 16:19:47 -08:00
Clint Armstrong
93e4656a27
Use a float to represent GPU utilization
...
Before this change workers can only be allocated one GPU task,
regardless of how much of the GPU resources that task uses, or how many
GPUs are in the system.
This makes GPUUtilization a float which can represent that a task needs
a portion, or multiple GPUs. GPUs are accounted for like RAM and CPUs so
that workers with more GPUs can be allocated more tasks.
A known issue is that PC2 cannot use multiple GPUs. And even if the
worker has multiple GPUs and is allocated multiple PC2 tasks, those
tasks will only run on the first GPU.
This could result in unexpected behavior when a worker with multiple
GPUs is assigned multiple PC2 tasks. But this should not suprise any
existing users who upgrade, as any existing users who run workers with
multiple GPUs should already know this and be running a worker per GPU
for PC2. But now those users have the freedom to customize the GPU
utilization of PC2 to be less than one and effectively run multiple PC2
processes in a single worker.
C2 is capable of utilizing multiple GPUs, and now workers can be
customized for C2 accordingly.
2021-11-30 02:06:58 +01:00
Clint Armstrong
c4f46171ae
Report memory used and swap used in worker res
...
Attempting to report "memory used by other processes" in the MemReserved
field fails to take into account the fact that the system's memory used
includes memory used by ongoing tasks.
To properly account for this, worker should report the memory and swap
used, then the scheduler that is aware of the memory requirements for a
task can determine if there is sufficient memory available for a task.
2021-11-30 02:06:58 +01:00
Łukasz Magiera
f8b132890c
Add verbose mode to lotus-miner pieces list-cids
2021-11-29 17:19:47 +01:00
Łukasz Magiera
b522901845
update storage attach allowTo usage
2021-11-23 16:23:06 +01:00
Łukasz Magiera
e362d47903
Add optional group flags to storage attach commands
2021-11-23 16:11:04 +01:00
Łukasz Magiera
b1781c33ce
Show group info in storage list
2021-11-23 16:11:04 +01:00
Anton Evangelatov
5454aebf13
CLI tools for the DAGStore inverted index ( #7361 )
...
* cli commands for dagstore
* address comments from Dirk
* rename inverted index to piece index
2021-11-17 15:39:45 +02:00
Dirk McCormick
599a6bfb24
fix: err message
2021-11-17 12:37:15 +01:00
Dirk McCormick
501308239f
feat: CLI command to announce deal to indexers
2021-11-17 12:16:22 +01:00
Aayush Rajasekaran
3be0c068b9
Shed: Add a util to create miners more easily
2021-11-03 00:20:48 +00:00