whyrusleeping
e7a1d72ba8
extract build/version to api/version, remove api package dep on build
2021-03-05 14:28:13 -08:00
Łukasz Magiera
58e49e3259
Move api client builders to a cliutil package
2021-03-05 21:08:41 +01:00
Raúl Kripalani
a1da1dab85
add context to LockedRepo#Datastore().
2021-01-26 11:01:43 +00:00
Łukasz Magiera
3672053ae9
worker: Support setting task types at runtime
2020-11-26 17:33:34 +01:00
Łukasz Magiera
23bf3349d7
worker: More robust remote checks
2020-11-25 17:05:45 +01:00
Łukasz Magiera
2a7e4af5ee
Fix lotus-miner/lotus-worker build
2020-11-16 19:03:30 +01:00
Łukasz Magiera
6fcdf3c7ed
Merge pull request #4615 from filecoin-project/feat/worker-pause
...
worker: Commands to pause/resume task processing
2020-10-31 00:26:37 +01:00
Łukasz Magiera
af1d45d969
worker: Handle multiple manager restarts while waiting for tasks
2020-10-30 18:00:48 +01:00
Łukasz Magiera
553408d573
worker: Commands to pause/resume task processing
2020-10-28 22:10:17 +01:00
Łukasz Magiera
660236b224
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-10-23 23:25:35 +02:00
lanzafame
7a33d5bb34
register all apis with metric wrapper
2020-10-21 18:37:50 +10:00
Łukasz Magiera
1a10f95973
worker: Better miner connectivity check on startup
2020-10-18 19:53:23 +02:00
Łukasz Magiera
879aa9512d
worker: Use miner session for connectivity check
2020-10-18 17:56:29 +02:00
Łukasz Magiera
cf4dfa3a05
worker: Use http rpc for miner API
2020-10-18 13:59:38 +02:00
Łukasz Magiera
8d06cca073
sched: Handle workers using sessions instead of connections
2020-10-18 12:36:06 +02:00
Łukasz Magiera
2cfe22d4e5
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-30 20:48:16 +02:00
Dan Shao
1affd498c1
Add --no-swap flag for worker
2020-09-30 14:23:35 +08:00
Łukasz Magiera
9bd2537971
stores: Fix error printing in http handler
2020-09-28 22:06:03 +02:00
Łukasz Magiera
bf554d0e43
worker: Redeclare storage early on reconnect
2020-09-28 21:11:25 +02:00
Łukasz Magiera
810c767200
worker: Redeclare storage on reconnect
2020-09-28 21:06:49 +02:00
Łukasz Magiera
4ba7af6061
worker: Mark return methods as retry-safe
2020-09-28 20:46:44 +02:00
Łukasz Magiera
86cf3c835e
worker: Reconnect correctly
2020-09-28 18:30:45 +02:00
Łukasz Magiera
3003789288
worker: Use a real datastore for keeping track of calls
2020-09-23 16:12:15 +02:00
Łukasz Magiera
706f4f2ef5
worker: Don't die with the connection
2020-09-22 18:36:44 +02:00
Łukasz Magiera
1ebca8f732
more working code
2020-09-14 19:09:01 +02:00
Łukasz Magiera
5f08fe7ead
Merge remote-tracking branch 'origin/master' into feat/async-restartable-workers
2020-09-10 17:30:54 +02:00
Łukasz Magiera
38863d3025
build: Separate API versions per node type
2020-09-08 21:14:53 +02:00
Łukasz Magiera
231a9e4051
Fix sealing sched tests
2020-09-07 17:55:31 +02:00
Łukasz Magiera
0e6ff668eb
worker: Cli to attach storage paths
2020-08-30 20:33:02 +02:00
Steven Allen
5733c71c50
Lint everything
...
We were ignoring quite a few error cases, and had one case where we weren't
actually updating state where we wanted to. Unfortunately, if the linter doesn't
pass, nobody has any reason to actually check lint failures in CI.
There are three remaining XXXs marked in the code for lint.
2020-08-20 20:46:36 -07:00
Łukasz Magiera
29db7047a3
Merge pull request #3112 from filecoin-project/fix/sched-hang
...
Fix sealing sched hands on unclean worker disconnect
2020-08-17 18:43:25 +02:00
Łukasz Magiera
6ef7a30b19
Merge pull request #3089 from filecoin-project/integrate/storage-fsm
...
integrate extern/{storage-fsm,sector-storage} into lotus source tree
2020-08-17 18:37:54 +02:00
Łukasz Magiera
f31473c4cf
Update jsonrpc to fix sealing sched hangs
2020-08-17 17:36:21 +02:00
Raúl Kripalani
862bafc63a
fix lint errors.
2020-08-17 14:39:33 +01:00
Raúl Kripalani
efdc428d5d
keep storage-fsm (renamed to storage-sealing) and sector-storage in extern.
2020-08-17 14:26:18 +01:00
yaohcn
aded4b4199
add missing restart flag
2020-08-17 16:04:50 +08:00
Raúl Kripalani
3c17cd655e
integrate extern/sector-storage into lotus proper.
2020-08-16 11:09:58 +01:00
Łukasz Magiera
0c75dd3865
Support AddPiece on workers
2020-08-14 16:06:53 +02:00
Łukasz Magiera
4f509d9b67
Merge pull request #2813 from filecoin-project/feat/unseal-on-workers
...
workers: Enable unseal support
2020-08-06 22:03:43 +02:00
Travis Person
ca53bf9097
lotus-worker: change address flag to listen ( #2848 )
...
* lotus-worker: change address flag to listen
Clarify the flag on the worker process to be the local address and port
the worker will listen on, and not the address of the miner.
* fixup! lotus-worker: change address flag to listen
Co-authored-by: Travis Person <travisperson@users.noreply.github.com>
2020-08-06 02:54:00 +02:00
Łukasz Magiera
de18d5521e
workers: Enable unseal support
2020-08-04 14:32:09 +02:00
ldoublewood
40b7783c77
fix missing flag for restarting worker
2020-07-31 15:30:41 +02:00
Łukasz Magiera
958cc8b947
Update sector-storage, parallel fetch limit
2020-07-24 22:11:11 +02:00
ognots
ebe197b0a8
extract and assign routable assign earlier on and add timeout
...
unspecified address should be calculated before use.
add a new timeout flag and add a timeout to TCP dial
2020-07-23 22:00:25 +02:00
ognots
6fda21d717
make address flag optional
...
use unspecified address as default value.
this will extract a routable IP to listen on and advertise
2020-07-23 22:00:25 +02:00
ognots
36472802f7
support unspecified addresses for worker
...
allow operators to set an unspecified address - 0.0.0.0 - when setting address flag in 'lotus-worker run'
to extract worker ip, dial the miner api.
if the dial succeeds, a valid route between miner and worker can be inferred
2020-07-23 22:00:25 +02:00
Łukasz Magiera
06acda0ab9
mod tidy, gofmt
2020-07-17 15:18:40 +02:00
Łukasz Magiera
0f2043d874
Merge pull request #2317 from filcloud/issue-2304
...
fix issue 2304: ux improvements
2020-07-15 19:38:35 +02:00
Frank
14ec9a2068
update storage miner and seal worker document
2020-07-11 16:55:13 +08:00
Łukasz Magiera
65648e6469
Fix seal-worker init
2020-07-10 16:13:35 +02:00