Skip to content

Some deals won't index #1768

Closed
Closed
@cryptowhizzard

Description

@cryptowhizzard

Checklist

  • This is not a question or a support request. If you have any boost related questions, please ask in the discussion forum.
  • This is not a new feature request. If it is, please file a feature request instead.
  • This is not an enhancement request. If it is, please file a improvement suggestion instead.
  • I have searched on the issue tracker and the discussion forum, and there is no existing related issue or discussion.
  • I am running the 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.
  • I did not make any code changes to boost.

Boost component

  • boost daemon - storage providers
  • boost client
  • boost UI
  • boost data-transfer
  • boost index-provider
  • Other

Boost Version

Latest master

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:

Scherm­afbeelding 2023-10-23 om 21 33 52

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

See above

Repo Steps

  1. Run '...'
  2. Do '...'
  3. See error '...'
    ...

Metadata

Metadata

Assignees

No one assigned

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions