Vladislav Pyatkov created IGNITE-17938:
------------------------------------------
Summary: Different primary nodes can be enlisted in one
transaction for the same replication group
Key: IGNITE-17938
URL: https://issues.apache.org/jira/browse/IGNITE-17938
Project: Ignite
Issue Type: Bug
Reporter: Vladislav Pyatkov
Before to send a replica request, we try to determine a primary node. If the
replication group is not used before, primary replica is choosing as a current
leader for the replication group and will be enlisted only when the request is
sent and handled.
If several replica requests are handled simultaneously, in the same
circumstances (primary is not enlisted for the replication group), a
coordinator node can try to enlist several different primaries for the group.
Before, we do nothing to resolve this situation, so last primary replaces
previous one.
But the right solution do not allow situation where we have several primaries
for the group in one transaction. Required to check that the primary node is
the same for all requests and throw an exception if this is not right.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)