Ivan Bessonov created IGNITE-19302:
--------------------------------------
Summary: Phantom reads protection is broken
Key: IGNITE-19302
URL: https://issues.apache.org/jira/browse/IGNITE-19302
Project: Ignite
Issue Type: Bug
Reporter: Ivan Bessonov
{{SortedIndexLocker#acquireLockNextKey}} is poorly implemented and not tested
properly. It ignores the documented contract of {{hasNext}} and {{peek}} from
{{{}PeekCursor{}}}.
"Has next" checks must essentially be replaced with {{{}peek() != null{}}}.
Unit tests, that would simulate concurrent operations, or maybe even do
concurrent operations, must be implemented.
--
This message was sent by Atlassian Jira
(v8.20.10#820010)