-
Notifications
You must be signed in to change notification settings - Fork 573
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
Replication factor is below 1 or larger than the number of available brokers. #3014
Comments
hey @Lord-Y you'll need to use an odd number (-r 1 or -r 3) for the replication factor. The reason or this is our use of the quorum based replication protocol raft. |
@dotnwat Thx for the quick answer. It works :).
Do you want me to make a PR to add it in the troubleshooting section or in Set up a 3-node cluster or you to take care of it? |
Nice. Yes that does seem like something that should be in the docs as it is not obvious. I'd say it'd be safe to submit a PR that updates the troubleshooting section. I think it's debatable if it should go in the basic tutorial, but the docs reviewer can provide feedback on that. |
/backport v22.1.x |
Version & Environment
Redpanda version: (use
rpk version
):Operating System (e.g. from
/etc/os-release
):docker info
):What went wrong?
Hello guys, following the documentation Setup a 3-node cluster I cannot create a topic with a replication factor of 2:
I also tried this but of course no luck:
Is it really a bug or am I doing something wrong?
The text was updated successfully, but these errors were encountered: