Open prologic opened 3 years ago
Hi @prologic
I just tested on my side and I wasn't able to get a blank result.
I think that this issue was addresses in v0.8.0.
Though unlikely, perhaps there's an inconsistency in the library due to the platform. I would like to reproduce what you are seeing. Is the bitraft branch that you are seeing the error with publicly available?
I noticed that your '0.0.0.0:4920' is advertising both as '[::]:4920' and '0.0.0.0:4920' in your logs. I don't know if this is the cause or not, but I just pushed a commit that disables the ipv6 listener. For my use cases, I don't need ipv6. And it should clear up the mismatch.
Is the bitraft branch that you are seeing the error with publicly available?
Yes. https://github.com/prologic/bitraft/tree/upgrade_finn_uhaha
Okay I'll try upgrading the version of uhaha I'm using and report back. Thanks!
I noticed that your '0.0.0.0:4920' is advertising both as '[::]:4920' and '0.0.0.0:4920' in your logs. I don't know if this is the cause or not, but I just pushed a commit that disables the ipv6 listener. For my use cases, I don't need ipv6. And it should clear up the mismatch.
That was the issue for me. Upgrading fixed it.
HI @tidwall 👋
Getting back to playing with your library again and making some updates/fixes to my bitraft I noticed some strange behaviour I'm wondering if you can help figure out.
I form a 3-node cluster:
Node 1:
Node 2:
Node 3:
Then I query the cluster with
RAFT LEADER
andRAFT SERVER LIST
:It would appear nobody knows who the leader is? However writes do work as well as reads and there no obvious errors on Node 1 (besides what you see above).