distributions icon indicating copy to clipboard operation
distributions copied to clipboard

Should we check how many peers there are when pinning?

Open galargh opened this issue 3 years ago • 1 comments

We're waiting for 2 pin confirmations in https://github.com/ipfs/distributions/blob/master/scripts/ci/pin-to-cluster.sh#L21.

In https://github.com/ipfs/distributions/actions/runs/3126268124/jobs/5072181286 it was the case that there was only 1 peer in the peer_map so it was impossible to satisfy this requirement. I suggest we fail the job immediately if that's the case.

Discovered during https://github.com/ipfs/kubo/issues/9237

galargh avatar Sep 26 '22 09:09 galargh

Failing fast when there are not enough cluster peers to have a minimum of 2 copies sgtm.

lidel avatar Nov 28 '22 14:11 lidel