"ipfs-cluster-ctl add --local" adds to the local peer #848
Labels
exp/intermediate
Prior experience is likely helpful
help wanted
Seeking public contribution on this issue
kind/enhancement
A net-new feature or improvement to an existing feature
P1
High: Likely tackled by core team if no one steps up
status/ready
Ready to be worked
Describe the feature you are proposing
A --local flag to "ipfs-cluster-ctl add" should allow to add and pin only on the local peer (with replication-factor=1).Additional context
Adding may be cumbersome if trying to reach a high replication factor with unavailable peers. This should allow users add to their local node only (they can then re-pin if they want to increase the replication factor).This is almost the equivalent of adding with ReplicationFactor=1 + UserAllocations=LocalPeer. However, it might be probably best to carry it as a new, separate add option (to cover the case where there are no local metrics. In that case, the given UserAllocations would be ignored in favour of some other peer).The text was updated successfully, but these errors were encountered: