Skip to content

[venus-market] support rebuild piece index #4911

@hunjixin

Description

@hunjixin

Checklist

  • This is not a new feature or an enhancement to the Filecoin protocol. If it is, please open an FIP issue.
  • This is not brainstorming ideas. If you have an idea you'd like to discuss, please open a new discussion on the venus forum and select the category as Ideas.
  • I have a specific, actionable, and well motivated feature request to propose.

Venus component

  • venus daemon - [chain service] chain sync
  • venus auth - [chain service] authentication
  • venus messager - [chain service] message management (mpool)
  • venus gateway - [chain service] gateway
  • venus miner - [chain service] mining and block production
  • venus sealer/worker - sealing
  • venus sealer - proving (WindowPoSt)
  • venus market - storage deal
  • venus market - retrieval deal
  • venus market - data transfer
  • venus light-weight client
  • venus JSON-RPC API
  • Other

What is the motivation behind this feature request? Is your feature request related to a problem? Please describe.

when import a miner with piece before, we must rebuild piece index for miner's piece to support retrieval.

Describe the solution you'd like

add cmd like

venus-market datstore rebuild-index --store <store name> --piece <option piece cid>

Describe alternatives you've considered

No response

Additional context

No response

Metadata

Metadata

Assignees

No one assigned

    Labels

    CU-deal-serviceVenus storage deal service related issuesV-venus-marketvenus-market component

    Type

    No type

    Projects

    Status

    Done

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions