Skip to content
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

PieceDirectory deal cleanup #981

Open
LexLuthr opened this issue Nov 21, 2022 · 1 comment
Open

PieceDirectory deal cleanup #981

LexLuthr opened this issue Nov 21, 2022 · 1 comment
Labels

Comments

@LexLuthr
Copy link
Collaborator

LexLuthr commented Nov 21, 2022

  1. Expired deals should be cleaned up - Should be user defined not automatic in case SP wants to keep serving from expired deals.
  2. Slashed deals should be cleaned up (where retrieval cannot be served) - this should be automated Ex: sector no longer available
  3. Deal details should be removed from piece metadata
  4. Index should be removed for pieces where no more deals are left after deal cleanup
  5. Announcement should be made to indexer that these MultiHashes are no longer available.
@LexLuthr
Copy link
Collaborator Author

  • Implement Basic Removal APIs feat: piecedirectory cleanup #953
  • Take a decision on how to track legacy deals in Metadata as it only has UUID
  • Add a cleanup job in Legacy Provider and Boost Provider
  • Update Indexer about removed deals if required

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
Projects
Status: No status
Development

No branches or pull requests

3 participants