Commit Graph

13260 Commits

Author SHA1 Message Date
Raúl Kripalani
5f49101566 add JSON-RPC operations and cli for dagstore. 2021-08-04 19:20:52 +01:00
raulk
25f61c8a5d
Merge pull request #6982 from filecoin-project/raulk/dagstore-migration 2021-08-04 19:20:26 +01:00
Raúl Kripalani
12d1f8e636 run gen. 2021-08-04 17:34:47 +01:00
Raúl Kripalani
270bad8144 pull dagstore migration into Lotus and simplify.
Migration registers all shards with lazy init.

Shards are then initialized as they are retrieved for the
first time, or in bulk through a lotus-shed tool that will
be provided separately.
2021-08-04 16:59:27 +01:00
raulk
e8e73e5374
Merge pull request #6979 from filecoin-project/raulk/review-dagstore 2021-08-04 13:22:39 +01:00
Raúl Kripalani
8f5e6a864f upgrade go-fil-markets. 2021-08-04 13:22:24 +01:00
Raúl Kripalani
07ffbf85e4 fix lint; run gen. 2021-08-04 12:48:53 +01:00
Raúl Kripalani
6a244ee8f0 clarify comment. 2021-08-04 12:45:49 +01:00
Raúl Kripalani
583a3c6277 switch DAGStoreConfig#GCInterval to Duration type. 2021-08-04 12:45:49 +01:00
Raúl Kripalani
35895e897a fix test. 2021-08-03 23:52:11 +01:00
Raúl Kripalani
970f3eff69 fix gen. 2021-08-03 23:46:48 +01:00
Raúl Kripalani
be24acbfbe go mod tidy. 2021-08-03 23:43:37 +01:00
Raúl Kripalani
da28416598 add docs to config parameters. 2021-08-03 23:41:59 +01:00
Raúl Kripalani
c06c8541f9 refactor dagstore + carv2 integration (+).
- Integrate with config.toml.
- Export DAGStore to DI context in preparation for JSON-RPC
  and cli commands.
- Renames.
2021-08-03 23:09:28 +01:00
Dirk McCormick
b3d02ea1f7 fix: use Version instead of API in wait-api cmd so it works for miner and markets nodes 2021-08-03 14:07:45 +02:00
Raúl Kripalani
691da14996 minor renaming. 2021-08-03 12:23:36 +01:00
Raúl Kripalani
bd3811e652 minor renaming. 2021-08-03 12:23:04 +01:00
Raúl Kripalani
4076746141 minor renaming. 2021-08-03 12:22:40 +01:00
Raúl Kripalani
f1d98361a6 small DAGStoreWrapper code reorg. 2021-08-03 12:17:50 +01:00
Raúl Kripalani
7e02868ce2 consolidate blockstore utils. 2021-08-03 12:10:12 +01:00
Dirk McCormick
0800de176e fix: lotus-miner pieces commands to use markets API instead of storage miner API 2021-08-03 11:52:38 +02:00
Dirk McCormick
d1dc30b14d fix: lotus-miner storage-deals set-deal-duration to use markets API instead of storage miner API 2021-08-03 11:48:48 +02:00
Dirk McCormick
ae0680a5de fix: lotus-miner sectors refs to use markets API instead of storage miner API 2021-08-03 11:16:34 +02:00
raulk
3be2681824
Merge pull request #6948 from filecoin-project/feat/dagst-throttle0-fetch-copy
Dagstore throttle fetch and copy
2021-07-30 15:46:50 +01:00
Raúl Kripalani
b63858f210 upgrade to dagstore v0.4.0. 2021-07-30 15:33:01 +01:00
Raúl Kripalani
932767d014 fix lint errors. 2021-07-30 15:25:18 +01:00
Aarsh Shah
2e30891005 update dagstore deps 2021-07-30 13:31:34 +05:30
Aarsh Shah
ab888c3a07 test the isunsealed api 2021-07-30 13:14:47 +05:30
Aarsh Shah
8cd305338a dagstore throttle fetch and copy 2021-07-30 13:02:42 +05:30
Raúl Kripalani
72391cca20 LOTUS_DAGSTORE_COPY_CONCURRENCY for controlling copy concurrency. 2021-07-29 21:36:43 +01:00
Aarsh Shah
88efbfa6ff go fmt 2021-07-30 01:44:47 +05:30
Aarsh Shah
fcd630e529 call dagstore start 2021-07-30 01:43:34 +05:30
Raúl Kripalani
073150a306 Merge branch 'release/v1.11.1' into feat/replace-multistore-carv2 2021-07-29 18:42:09 +01:00
raulk
7d70ef79af
Merge pull request #6933 from filecoin-project/jen/bp-to-release
Fixes in master -> release
2021-07-29 18:30:46 +01:00
Raúl Kripalani
bb040abb2c fix compilation error. 2021-07-29 12:23:04 -04:00
Raúl Kripalani
00c3432e5a use fallback api infos last; init service with markets-path. 2021-07-29 12:22:53 -04:00
Raúl Kripalani
4b6fa79ea2 bugfix. 2021-07-29 12:22:49 -04:00
Raúl Kripalani
b3c951c924 add RepoType#String; adjust repo parsing logic. 2021-07-29 12:22:27 -04:00
Raúl Kripalani
299b106f38 fix docs, add flag. 2021-07-29 12:22:19 -04:00
Raúl Kripalani
1b5a2dd79a fix tests. 2021-07-29 12:22:11 -04:00
Raúl Kripalani
107777fdac polish. 2021-07-29 12:22:03 -04:00
Raúl Kripalani
d37ae957e0 refactor miner info command. 2021-07-29 12:21:29 -04:00
Raúl Kripalani
92056423c3 target markets API for markets commands. 2021-07-29 12:20:26 -04:00
Raúl Kripalani
8442bac5b2 support MARKETS_API_INFO env var; support markets-repo, markets-api-url flags. 2021-07-29 12:20:05 -04:00
Aarsh Shah
029ba39fd9 update deps for logging 2021-07-29 12:19:37 -04:00
aarshkshah1992
0daee83735 more logging in data transfer and markets 2021-07-29 12:08:41 -04:00
Jennifer Wang
786d3e79eb make gen 2021-07-29 04:51:28 -04:00
vyzo
fd33b96e08 make symlink helper freestanding 2021-07-29 04:43:19 -04:00
vyzo
4417be81ad fix typo
Co-authored-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-07-29 04:43:07 -04:00
vyzo
ec78d3d7b1 fix format specifier 2021-07-29 04:42:56 -04:00