-
Notifications
You must be signed in to change notification settings - Fork 70
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
Some deals won't index #1768
Comments
When I hit retry , the status of the deal changes to: Deal not found in sector. However: lotus state get-deal 59168307 lotus-miner sectors status 21862 |
Looks like the full piece was not added to the Local Index Directory. Could you try to recover the sector, with
The command above should re-insert all deals and indices for the sector into the Local Index Directory. Additionally could you give a bit more information about your setup? The root cause of this issue is:
|
Hello, boostd recover lid --api-fullnode=$FULLNODE_API_INFO --api-storage=$MINER_API_INFO --api-lid=ws://127.0.0.1:8044 --sector-id=36389 It's sitting here for 12 hours now. No response. I'm running latest boost master ( Okt 25 ) with timeout patch in it and dealfilters disabled. Yugabyte running locally and lotus-miner. The rest is external. |
@cryptowhizzard Can you please dump boostd logs here? |
I sure can , but can you be more specific on what you need from the logs? |
cat -A100 -B100 from the log on the pieceCiD. Perhaps it helps |
@cryptowhizzard The supplied logs do not contain any log line about indexing. I would suggest turning off the debug logs for piecedoctor and turn ON debug for "piecedirectory". After that search for logs |
@cryptowhizzard As @LexLuthr requested, please send all logs so we can figure out what is wrong with your deployment, but this sounds like a configuration problem. |
This problem is solved upgrading to the latest RC. |
Checklist
Latest release
, or the most recent RC(release canadiate) for the upcoming release or the dev branch(master), or have an issue updating to any of these.Boost component
Boost Version
Describe the Bug
Some deals won't index properly.
The initial error visible is:
Paused at 'Sealer: Proving': failed to add index and announce deal: failed to add deal to piece metadata store: adding index for piece baga6ea4seaqdk66rv6raydpdiajbucyianrta6yisykbxlmnbbqzi25psn6widq: adding CAR index for piece baga6ea4seaqdk66rv6raydpdiajbucyianrta6yisykbxlmnbbqzi25psn6widq: add index with piece cid baga6ea4seaqdk66rv6raydpdiajbucyianrta6yisykbxlmnbbqzi25psn6widq: inserting into PayloadToPieces: gocql: no response received from cassandra within timeout period
However , when taking a closer look on the deal I see:
lotus state get-deal 59168307
{
"Proposal": {
"PieceCID": {
"/": "baga6ea4seaqdk66rv6raydpdiajbucyianrta6yisykbxlmnbbqzi25psn6widq"
},
"PieceSize": 34359738368,
"VerifiedDeal": true,
"Client": "f02144497",
"Provider": "f02366527",
"Label": "bafyreiaomri2xbxcwlqx2mbhn5vajjp2jiuwhdqzqpgf2t7uh3wyjt67oi",
"StartEpoch": 3334674,
"EndEpoch": 4803474,
"StoragePricePerEpoch": "0",
"ProviderCollateral": "9040517304960330",
"ClientCollateral": "0"
},
"State": {
"SectorStartEpoch": 3315429,
"LastUpdatedEpoch": -1,
"SlashEpoch": -1,
"VerifiedClaim": 41468960
}
}
boostd lid gen-index baga6ea4seaqdk66rv6raydpdiajbucyianrta6yisykbxlmnbbqzi25psn6widq
Generating index for piece baga6ea4seaqdk66rv6raydpdiajbucyianrta6yisykbxlmnbbqzi25psn6widq
Error: getting piece deals: listing deals for piece baga6ea4seaqdk66rv6raydpdiajbucyianrta6yisykbxlmnbbqzi25psn6widq: getting piece metadata: piece baga6ea4seaqdk66rv6raydpdiajbucyianrta6yisykbxlmnbbqzi25psn6widq: not found
Logging Information
Repo Steps
...
The text was updated successfully, but these errors were encountered: