{"build_git_commit":"be13581","build_go_version":"go1.22.9","build_image_tag":"1.26.10","build_wv_version":"1.26.10","level":"info","msg":"attempted to join and failed","remoteNode":"172.18.0.4:8300","status":8,"time":"2024-11-22T17:38:13Z"}
Any calls to the API fail with: {"error":[{"message":"leader not found"}]}
How might this be fixed so that I can run a single node cluster for development on 1.27.5?
Update: I tried to bring up a 3-node cluster in Docker Compose. The first node still fails stating the leader isn’t found when it has the two other nodes joined to it.
Why would it not default to be a leader, and why is this not documented accordingly?
Are you able to spin up a 1.27.5 single-node cluster and create schema, insert objects, etc., with what you posted above? I am just fine on 1.24.26. It’s after the introduction of Raft in 1.25 that I see this problem. Which is a breaking change across what I believe to be a SemVer minor version.
The problem I see is intrinsic to Weaviate’s Raft implementation in failing to elect a leader in a single-node cluster, not the Docker Compose or the environment variables thereof. (I.e., why would Weaviate not default to a single-node configuration in a Getting Started guide intended for development?)