[ 
https://issues.apache.org/jira/browse/IGNITE-19302?page=com.atlassian.jira.plugin.system.issuetabpanels:all-tabpanel
 ]

Ivan Bessonov updated IGNITE-19302:
-----------------------------------
    Reviewer: Roman Puchkovskiy

> 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
>            Assignee: Ivan Bessonov
>            Priority: Major
>              Labels: ignite-3
>          Time Spent: 1h
>  Remaining Estimate: 0h
>
> {{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)

Reply via email to