lni / dragonboat

A feature complete and high performance multi-group Raft library in Go.
Apache License 2.0
4.99k stars 534 forks source link

Log replication conflict #227

Closed kcmvp closed 2 years ago

kcmvp commented 2 years ago

Note: for reported bugs, please fill in the following details. bug reports without detailed steps on how to reproduce will be automatically closed.

Dragonboat version

sample https://github.com/lni/dragonboat-example/tree/master/helloworld

Expected behavior

only log can replicate log to followers

Actual behavior

can send message from any node

Steps to reproduce the behavior

follow the steps in the sample

lni commented 2 years ago

@bgymt thanks for reporting the potential issue. As you have probably figured out by yourself, it is highly likely for dragonboat to have log replication related bug, as that is the most commonly executed feature already tested by dozens of projects.

please feel free to raise other issues when you see anything strange.