-
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
Expired deals continue to cause new sectors to be removed #5137
Comments
BTW - This wasted attempt at sealing cost 0.35 FIL - 3 PublishStorageDeals messages:
|
Full log of stuck deals in verbose mode |
Describe the bug
Many older deals still in a status in lotus-miner sectors list where they are causing sealing problems.
An example is an expired deal from Dec 4 continues to be added to new sectors with other older deals and the sector is removed at the end of PC2
To Reproduce
lotus-miner sectors status --on-chain-info --log 365
SectorID: 365
Status: Removed
CIDcommD: baga6ea4seaqfzritndxvdh6semu7aqk3snjvtmehftfatveisw3xjn2egr4t6gq
CIDcommR: bagboea4b5abcb4fgqxzpqancc4ir4hl4gbtboujwvz4xfqngf4ooqqerq3tdduqf
Ticket: 91967c6a19678b0ae9d7e210e03e1063dfbb256b0dcf21acad81866ef5e56b20
TicketH: 300445
Seed:
SeedH: 0
Precommit:
Commit:
Proof:
Deals: [1431209 1431396 1431415 0 0 0]
Retries: 0
Sector On Chain Info
SealProof: 0
Activation: 0
Expiration: 0
DealWeight: 0
VerifiedDealWeight: 0
InitialPledge: 0
Expiration Info
OnTime: 0
Early: 0
Event Log:
0. 2020-12-07 08:06:34 +0000 UTC: [event;sealing.SectorStart] {"User":{"ID":365,"SectorType":8}}
sector deals expired: piece 0 (of 6) of sector 365 refers expired deal 1431209 - should start at 301874, head 301962
Miner log
2020-12-07T18:21:27.627 INFO filecoin_proofs::api::seal > seal_pre_commit_phase2:finish
2020-12-07T18:21:27.627 INFO filcrypto::proofs::api > seal_pre_commit_phase2: finish
2020-12-07T18:21:27.725Z WARN sectors storage-sealing/fsm.go:511 sector 365 got error event sealing.SectorDealsExpired: sector deals expired: piece 0 (of 6) of sector 365 refers expired deal 1431209 - should start at 301874, head 301962
2020-12-07T18:21:27.738Z ERROR sectors storage-sealing/states_failed.go:326 non-precommitted sector with expired deals, can't recover from this yet
2020-12-07T18:21:27.743Z INFO stores stores/local.go:581 remove /Lotus/worker/sealed/s-t01278-365
2020-12-07T18:21:30.406Z INFO stores stores/local.go:581 remove /Lotus/worker/cache/s-t01278-365
2020-12-07T18:21:36.834Z INFO miner miner/miner.go:384 Time delta between now and our mining base: 6s (nulls: 0)
lotus-miner storage-deals list -v |grep 1431209
Dec 4 17:40:12 bafyreig6s2s42r6i3nplag2d44z4b3hblexrlhqao3axymcjv2wmqihimm 1431209 StorageDealAwaitingPreCommit f3qjnosleewjww2fd4gxf7245dhei6pqs6ssyixlwfhitmx7u6qxip6sbn2aweacu4xcqpj7gixu3fodv4nv2q 2GiB 0.0002078708 FIL 1039354
lotus-miner storage-deals list -v |grep 1431396
Dec 4 23:02:37 bafyreiayqvbddlk5v6tvuf4cjymvkrdfitrswyviyno2getbwkp3rrfwxy 1431396 StorageDealAwaitingPreCommit f3qjnosleewjww2fd4gxf7245dhei6pqs6ssyixlwfhitmx7u6qxip6sbn2aweacu4xcqpj7gixu3fodv4nv2q 2GiB 0.0002083178 FIL 1041589
lotus-miner storage-deals list -v |grep 1431415
Dec 4 16:17:45 bafyreibejkh77vzojuyg572vubjpoqlyvmb5uuvochlfaoowpjl4u45ibe 1431415 StorageDealAwaitingPreCommit f3qjnosleewjww2fd4gxf7245dhei6pqs6ssyixlwfhitmx7u6qxip6sbn2aweacu4xcqpj7gixu3fodv4nv2q 2GiB 0.000207904 FIL 1039520
Expected behavior
Expired deals should have state changed from "StorageDealAwaitingPreCommit" to "StorageDealError"
Screenshots
N/A
Version (run
lotus version
):lotus-miner version
Additional context
This is a single miner no remote workers, Ryzen 9, x570 mobo, 128 GB ram 200GB swap, NVMe disks
I have deals going back to September showing "StorageDealSealing"
I ran these commands while the miner was idle with no outstanding sealing tasks running:
lotus-miner storage-deals list -v |grep StorageDealSealing
Here is a listing of all states going back to August 2020:
StorageDealActive
lotus-miner storage-deals list |grep StorageDealActive |wc -l
3233
StorageDealProviderTransferRestart
lotus-miner storage-deals list |grep StorageDealProviderTransferRestart |wc -l
189
StorageDealWaitingForData
lotus-miner storage-deals list |grep StorageDealWaitingForData |wc -l
122
StorageDealAwaitingPreCommit
lotus-miner storage-deals list |grep StorageDealAwaitingPreCommit |wc -l
44
StorageDealError <---- these are mostly rejected deals due to prices rejected
lotus-miner storage-deals list |grep StorageDealError |wc -l
3694
StorageDealSealing
lotus-miner storage-deals list |grep StorageDealSealing |wc -l
1
The text was updated successfully, but these errors were encountered: