Cluster unstable when running tcp example #83
Unanswered
AntonWerenberg
asked this question in
Q&A
Replies: 2 comments 23 replies
-
Hi @AntonWerenberg ! Which version are you using? 3.x or 4.x? |
Beta Was this translation helpful? Give feedback.
0 replies
-
Hi @sakno! I'm running 4.0.0 beta 9. I have however seen similar problems when testing the 3.x fork at sakno/dotNext. |
Beta Was this translation helpful? Give feedback.
23 replies
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
-
I've been experimenting with the raft node example code for some time, and one issue keeps being present: Instability in the cluster.
The nodes will often run fine in the beginning, but sooner or later they will start to go out of sync and fail. One node will show the tcp error warning:
"warn: DotNext.Net.Cluster.Consensus.Raft.Tcp.TcpServer[74022]
Request has timed out"
and others will start running elections, but will not reach consensus.
the behaviour can be seen in the attached image.
I'm running with default election timeout settings from the example.
I'm running with default election timeout settings from the example.
I'm not a great programmer and I'm really having trouble seeing which direction to go to get to the bottom of this?
My main concern is currently if this could be due to my own setup, something not configured correctly, or something like that.
I measured Broadcasttime using Metrics collector. It is showing broadcast times of around 3 ms.
Beta Was this translation helpful? Give feedback.
All reactions