Mirza Aliev created IGNITE-15222:
------------------------------------
Summary: Metastorage's cursor commands next and hasNext must work
correctly after Raft leader was changing.
Key: IGNITE-15222
URL: https://issues.apache.org/jira/browse/IGNITE-15222
Project: Ignite
Issue Type: Bug
Reporter: Mirza Aliev
Fix For: 3.0.0-alpha3
Metastorage's cursor commands next and hasNext is implemented using
{{CursorNextCommand}} and {{CursorHasNextCommand}} Raft comands, which are
Raft's Read Commands. Read commands are handled on Raft leader, and state of
cursor is not replicated on followers. That means that in case of changing a
leadear in raft group, cursor next and hasNext will work incorrectly.
Possible solution is to change {{CursorNextCommand}} and
{{CursorHasNextCommand}} to raft's wrtie commands, so they will be replicated
on the followers and new follower will handle the commands correctly.
--
This message was sent by Atlassian Jira
(v8.3.4#803005)