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

classic Classic list List threaded Threaded
1 message Options
Reply | Threaded
Open this post in threaded view
|

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

Anton Vinogradov (Jira)
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)