You are viewing a plain text version of this content. The canonical link for it is here.
Posted to issues@ignite.apache.org by "Dmitriy Govorukhin (JIRA)" <ji...@apache.org> on 2019/04/19 09:03:00 UTC

[jira] [Created] (IGNITE-11786) Implement thread-local stack for trucking page locks

Dmitriy Govorukhin created IGNITE-11786:
-------------------------------------------

             Summary: Implement thread-local stack for trucking page locks
                 Key: IGNITE-11786
                 URL: https://issues.apache.org/jira/browse/IGNITE-11786
             Project: Ignite
          Issue Type: Sub-task
            Reporter: Dmitriy Govorukhin


The new structure should work as a stack. 
When thread obtains lock we push pageId (+meta) on the top of the stack when thread release lock we pop pageId from the stack. Their cases when thread may unlock page not from current thread frame (some split pages in B-tree), from previous, in this case, we should go down to stack and find this page and update meta.

{code}
{code}



--
This message was sent by Atlassian JIRA
(v7.6.3#76005)