Closed mortelli closed 4 years ago
- make
f
have its chunks garbage collected from the network (how do we do this?); this means that when a non-pinner asks for this resource, it will fail to retrieve its chunks and trigger recovery requests when attempting to fetch them. 5.1 verify thatf
cannot be fetched from a non-pinner node. the node should not havef
already synced to it (how do we make sure of this?)
as @zelig said, @vojtechsimetka also suggested having nodes with very little storage so that the chunks for f
are garbage collected when something else is uploaded.
we should test whether sync restores this content after having it replaced with something new is put into the nodes.
- update the recovery feed content, setting it to prefixes of the global pinners addresses, as a list of targets (how do we determine the length of the prefixes?)
this one is still an open question
this one is still an open question
1 byte appears to be enough for a small network.
we're running tests on the global-pinning-test
branch.
logs and testing funcs are being added in a grotesque manner to help us out during this manual testing phase.
after succeceding, we expect to:
global-pinning-logs
branch and make a PR for itGP POC has been ended.
Further issues can be tackled separately if needed.
User story: Global Pinning
Issue for implementing Phase 3 of global pinning.
The purpose of this phase is to manually test how global pinning works in a swarm network and fix whatever issues may arise.
Tasks
Testing steps
Once all other tasks are complete, the outline of the testing steps is as follows:
f
to the network with a given nodep
marked as its publisher in its manifest. 2.1 verify locally that the publisher is correctly reflected in the manifest.f
in all of the global pinner nodes.f
does not have its chunks garbage collected in the pinner nodes after uploading more content to them.f
have its chunks garbage collected from the network by re-uploading content to the appropriate nodes. this means that when a non-pinner asks for this resource, it will fail to retrieve its chunks and trigger recovery requests when attempting to fetch them. 5.1 verify thatf
cannot be fetched from a non-pinner node. the node should not havef
already synced to it.p
to create a recovery feed forf
.f
. 8.1 verify that there was a failure to obtain the related chunks, trojan messages were mined and sent to the global pinners.f
has its chunks re-uploaded to the network from the pinner nodes.f
from a non-pinner node which does not already store it locally.If step 10 is successful, the process works as expected.
PRs