Swaminathan Balachandran created RATIS-2187:
-----------------------------------------------
Summary: Raft PeerId validation on reinitialization of a
statemachine
Key: RATIS-2187
URL: https://issues.apache.org/jira/browse/RATIS-2187
Project: Ratis
Issue Type: Task
Components: raft-group
Reporter: Swaminathan Balachandran
As of date when a peer joins a Ratis quorum, there is no verification of the
peerId that happens neither while initializing the Ratis Statemachine nor
during the apply transaction phase. Ideally there should be an assertion on
either of these places to validate the RaftServer that joined an existing
RaftGroup, if it belongs to the quorum. We need this because there is a
possibility that a server with the same hostname & ip can join a raft quorum
with a different serverId. This could prevent unintentional transactions being
written to servers which could lead to some corruption.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)