Skip to content
This repository has been archived by the owner on Aug 2, 2021. It is now read-only.

use monitors when requesting globally pinned chunks #2171

Open
mortelli opened this issue May 4, 2020 · 0 comments
Open

use monitors when requesting globally pinned chunks #2171

mortelli opened this issue May 4, 2020 · 0 comments
Assignees
Labels
global pinning experimental implementation of global pinning

Comments

@mortelli
Copy link
Contributor

mortelli commented May 4, 2020

When swarm.netStore fails to retrieve a globally pinned chunk, it will call a hook function to send a trojan message to trigger the recovery of if (i.e., have it re-uploaded to the network) to one of the pinners.

As it is, this call results in a pss.Monitor object which the requester is not doing anything with. We could use this to track the progress of the chunk repair before retrying a fetch.

Additionally, we should look into how to deal with this when there are multiple targets to request chunk repair.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
global pinning experimental implementation of global pinning
Projects
None yet
Development

No branches or pull requests

2 participants