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

ipfs-cluster-ctl: do not provide "peers add" #397

Merged
merged 1 commit into from Apr 27, 2018
Merged

Conversation

hsanjuan
Copy link
Collaborator

This uses the PeerAdd endpoint which should NOT be used as the current
workflow states that the way to adding peers is bootstrapping.

Adding peers manually with this endpoint leads to split-head states very
easily. The fact that this operation is visible in ipfs-cluster-ctl
is only leading the users to bad places.

License: MIT
Signed-off-by: Hector Sanjuan code@hector.link

This uses the PeerAdd endpoint which should NOT be used as the current
workflow states that the way to adding peers is bootstrapping.

Adding peers manually with this endpoint leads to split-head states very
easily. The fact that this operation is visible in ipfs-cluster-ctl
is only leading the users to bad places.

License: MIT
Signed-off-by: Hector Sanjuan <code@hector.link>
@hsanjuan hsanjuan self-assigned this Apr 27, 2018
@ghost ghost added the status/in-progress In progress label Apr 27, 2018
@hsanjuan hsanjuan mentioned this pull request Apr 27, 2018
@coveralls
Copy link

Coverage Status

Coverage increased (+0.09%) to 67.405% when pulling 1d20f3d on feat/peer-add-hide into 01bf4c1 on master.

Copy link
Collaborator

@ZenGround0 ZenGround0 left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

LGTM

@hsanjuan hsanjuan merged commit 921c17c into master Apr 27, 2018
@hsanjuan hsanjuan deleted the feat/peer-add-hide branch April 27, 2018 15:17
@ghost ghost removed the status/in-progress In progress label Apr 27, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants