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

'net partition' issue in gossip consensus #45

Open
zw0610 opened this issue Jan 12, 2020 · 0 comments
Open

'net partition' issue in gossip consensus #45

zw0610 opened this issue Jan 12, 2020 · 0 comments
Labels
kind/bug Categorizes issue or PR as related to a bug.

Comments

@zw0610
Copy link
Contributor

zw0610 commented Jan 12, 2020

Is this a BUG REPORT or FEATURE REQUEST?:

Uncomment only one, leave it on its own line:

/kind bug

What happened:

This is an issue I encountered when preparing an example running on a Kubernetes cluster.
The design is use a deployment to start all worker pods and each be will discovered with a service.

However, when the number of replicas is small, it is highly risky that the service will direct the join request to the pot itself, making a pseudo-net-partition situation.

What you expected to happen:

How to reproduce it (as minimally and precisely as possible):

Anything else we need to know?:

The IP address of service has nothing to do with the IPs of pods. So far, I can only retry join method for multiple times if returned itself as the only peer.

@caicloud-bot caicloud-bot added the kind/bug Categorizes issue or PR as related to a bug. label Jan 12, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
kind/bug Categorizes issue or PR as related to a bug.
Projects
None yet
Development

No branches or pull requests

2 participants