Ivan Bessonov created IGNITE-25675:
--------------------------------------

             Summary: Add mod counter to sorted indexes' peek
                 Key: IGNITE-25675
                 URL: https://issues.apache.org/jira/browse/IGNITE-25675
             Project: Ignite
          Issue Type: Improvement
            Reporter: Ivan Bessonov


Let's try to do it in page-memory indexes first as an optimization attempt:
{code:java}
org.apache.ignite.internal.storage.pagememory.index.AbstractPageMemoryIndexStorage.ScanCursor#peek
 {code}
We call this method twice when we insert data. If there's not much contention, 
then this method will return the same value both times, but we really read the 
data both times too, which is not efficient



--
This message was sent by Atlassian Jira
(v8.20.10#820010)

Reply via email to