Mirza Aliev created IGNITE-16478:
------------------------------------
Summary: RocksDB returns unexpected cursor.hasNext equals false
after leader is changed
Key: IGNITE-16478
URL: https://issues.apache.org/jira/browse/IGNITE-16478
Project: Ignite
Issue Type: Bug
Reporter: Mirza Aliev
After investigation of https://issues.apache.org/jira/browse/IGNITE-16406 we
found a bug in {{PartitionListener#handleScanRetrieveBatchCommand}} when leader
is changed. In some case, {{cursorDesc.cursor().hasNext()}} return false, hence
select operation return empty response, but should response several rows.
Investigation showed that cursor that is returned from
{{RocksDbPartitionStorage#scan}}
is inconsistent after leader changing because its hasNext returns unexpected
false.
Further investigation is needed.
--
This message was sent by Atlassian Jira
(v8.20.1#820001)