Commit Graph

10987 Commits

Author SHA1 Message Date
Raúl Kripalani
2047a74958 implement blockstore.Union, a union blockstore.
The union blockstore takes a list of blockstores. It returns the first
satisfying read, and broadcasts writes to all stores.

It can be used for operations that require reading from any two blockstores,
for example WalkSnapshot.
2021-03-02 17:03:11 +00:00
Raúl Kripalani
b1c348b4a7 address review comments. 2021-03-02 16:31:01 +00:00
Łukasz Magiera
61005e61e9 Merge branch 'rvagg-rvagg/list-asks-output' into next 2021-03-02 13:59:18 +01:00
Rod Vagg
b9d7de595a list-asks: add --output-format & omit progress if !stdout 2021-03-02 13:58:41 +01:00
Łukasz Magiera
a39f4809a3
Merge pull request #5604 from filecoin-project/feat/packer-build
packer provisioner
2021-03-02 13:55:44 +01:00
Łukasz Magiera
cd1a2e3413
Merge pull request #5702 from filecoin-project/asr/sync-stage-string
Add idle to sync stage's String()
2021-03-02 13:47:17 +01:00
Dirk McCormick
ced455bba9 feat: add configurable max provider collateral 2021-03-02 10:24:57 +01:00
Aayush Rajasekaran
9850e786e8 Add idle to sync stage's String() 2021-03-01 23:56:51 -05:00
Łukasz Magiera
57642697bc
Merge pull request #5484 from filecoin-project/refactor/lib/blockstore
refactor blockstores
2021-03-01 19:37:10 +01:00
Cory Schwartz
2f496b3ad7 tag in droplet image 2021-03-01 10:11:52 -08:00
Łukasz Magiera
8bd5173a54
Merge branch 'next' into refactor/lib/blockstore 2021-03-01 19:04:40 +01:00
Łukasz Magiera
5fe37404bc Merge remote-tracking branch 'origin/master' into next 2021-03-01 19:03:01 +01:00
Łukasz Magiera
3f5b17dcfc
Merge pull request #5694 from filecoin-project/asr/nits
Correct some logs
2021-03-01 18:22:40 +01:00
Raúl Kripalani
b34b4e0374 fix test compilation error. 2021-02-28 23:10:01 +00:00
Raúl Kripalani
3795cc2bd2 segregate chain and state blockstores.
This paves the way for better object lifetime management.

Concretely, it makes it possible to:
- have different stores backing chain and state data.
- having the same datastore library, but using different parameters.
- attach different caching layers/policies to each class of data, e.g.
  sizing caches differently.
- specifying different retention policies for chain and state data.

This separation is important because:
- access patterns/frequency of chain and state data are different.
- state is derivable from chain, so one could never expunge the chain
  store, and only retain state objects reachable from the last finality
  in the state store.
2021-02-28 22:49:44 +00:00
Raúl Kripalani
853de3daf7 fix TimedCacheBlockstore#View. 2021-02-28 22:39:00 +00:00
Raúl Kripalani
45a650c012 remove unnecessary View casting. 2021-02-28 22:20:29 +00:00
Raúl Kripalani
8b17a4766d fix CI for build-lotus-soup. 2021-02-28 21:07:25 +00:00
Raúl Kripalani
9f0c68bb70 fix unused import post-merge. 2021-02-28 19:57:37 +00:00
Raúl Kripalani
7f0f7d0b36 Merge branch 'master' into refactor/lib/blockstore 2021-02-28 19:55:23 +00:00
Raúl Kripalani
8601e5da3a address review comments. 2021-02-28 19:44:02 +00:00
Aayush Rajasekaran
191a05da48 Fixup get-cc-collateral command 2021-02-28 02:10:22 -05:00
Aayush Rajasekaran
48bce386cd Correct some logs 2021-02-28 01:18:29 -05:00
Jennifer
81fcffcf3c
Update proving-issues.md 2021-02-27 00:55:55 -05:00
Jennifer
31898af076
Update .github/ISSUE_TEMPLATE/proving-issues.md
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-02-27 00:54:52 -05:00
Jennifer
5b4f93cffa
Update .github/ISSUE_TEMPLATE/bug-report.md
Co-authored-by: Łukasz Magiera <magik6k@users.noreply.github.com>
2021-02-27 00:54:27 -05:00
Łukasz Magiera
fe69b561a6
Merge pull request #5676 from filecoin-project/feat/list-gas-stats
chain list --gas-stats display capacity
2021-02-26 19:35:32 +01:00
Jakub Sztandera
10e1b26580
chain list --gas-stats display capacity
Add tipset capacity display to `chain list`

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-26 14:05:51 +01:00
Łukasz Magiera
29c9fa3137
Merge pull request #5612 from filecoin-project/feat/cc-fsm-cleanup
storagefsm: Cleanup CC sector creation
2021-02-26 11:39:28 +01:00
Łukasz Magiera
c69f884116
Merge pull request #5668 from filecoin-project/revert-5667-revert-5432-refac/send
reintroduce Refactor send command for better testability
2021-02-25 14:56:36 +01:00
Łukasz Magiera
b48ea9610f Merge remote-tracking branch 'origin/master' into revert-5667-revert-5432-refac/send 2021-02-25 14:54:20 +01:00
Łukasz Magiera
f5d819ba53
Merge pull request #5669 from ghoneycutt/import_error
Improve error message with importing a chain
2021-02-25 14:31:33 +01:00
Łukasz Magiera
e49a412f6d
Merge pull request #5375 from filecoin-project/feat/refactor-fsm-input
storagefsm: Rewrite input handling
2021-02-25 14:28:04 +01:00
Łukasz Magiera
247a086cbf
Merge pull request #5658 from filecoin-project/fix/handle-recoverdealids
Remove sectors with all deals expired in RecoverDealIDs
2021-02-25 13:26:59 +01:00
Garrett Honeycutt
92b605466f
Improve error message with importing a chain
Without this commit the error message does not provide much value as it
lacks context.
2021-02-24 19:29:29 -05:00
Cory Schwartz
9ceda488e1 motd 2021-02-24 11:16:41 -08:00
Cory Schwartz
f697ca7e1e remove timeout 2021-02-24 11:16:41 -08:00
Cory Schwartz
481f17fd55 extra note about downloading the snapshot 2021-02-24 11:16:41 -08:00
Cory Schwartz
857cb815b1 public AMI 2021-02-24 11:16:41 -08:00
Cory Schwartz
a1b1bb90e8 extra space 2021-02-24 11:16:41 -08:00
Cory Schwartz
fca183161a use pre exec 2021-02-24 11:16:41 -08:00
Cory Schwartz
6b9478f862 use sudo for wallet 2021-02-24 11:16:41 -08:00
Cory Schwartz
cec0a6e790 add calibrationnet 2021-02-24 11:16:41 -08:00
Cory Schwartz
de80b1e433 mainnet packer provisioner 2021-02-24 11:16:41 -08:00
Łukasz Magiera
c9c26ee282
Merge pull request #5675 from filecoin-project/fix/rice
Fix riceing by importing the main package
2021-02-24 16:38:25 +01:00
Jakub Sztandera
ccebc4f53c
Fix riceing by importing the main package
Go 1.16 elides dependencies from go.sum when you don't use a package
which has these dependencies.

This means dependencies for the `rice` command where not in our
`go.sum`.

Signed-off-by: Jakub Sztandera <kubuxu@protocol.ai>
2021-02-24 15:58:40 +01:00
Łukasz Magiera
3c9e376474
Merge pull request #5656 from filecoin-project/feat/state-search-replaced
Show replacing message CID is state search-msg cli
2021-02-24 12:59:39 +01:00
Aayush Rajasekaran
55b85f3148
Merge pull request #5670 from filecoin-project/asr/changelog
Lotus version 1.5.0
2021-02-23 16:42:49 -05:00
Aayush Rajasekaran
d8bb112bcd Lotus version 1.5.0 2021-02-23 16:25:40 -05:00
Aayush Rajasekaran
4cec0375b9
Merge pull request #5663 from filecoin-project/asr/disable-v3
Add a LOTUS_DISABLE_V3_ACTOR_MIGRATION envvar
2021-02-23 14:09:21 -05:00