zookeeper-issues mailing list archives

Site index · List index
Message view « Date » · « Thread »
Top « Date » · « Thread »
From "Andor Molnar (JIRA)" <j...@apache.org>
Subject [jira] [Resolved] (ZOOKEEPER-3347) Improve PathTrie Consistency
Date Fri, 09 Aug 2019 14:16:00 GMT

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

Andor Molnar resolved ZOOKEEPER-3347.
-------------------------------------
    Resolution: Fixed

Issue resolved by pull request 888
[https://github.com/apache/zookeeper/pull/888]

> Improve PathTrie Consistency 
> -----------------------------
>
>                 Key: ZOOKEEPER-3347
>                 URL: https://issues.apache.org/jira/browse/ZOOKEEPER-3347
>             Project: ZooKeeper
>          Issue Type: Improvement
>          Components: server
>            Reporter: David Mollitor
>            Assignee: David Mollitor
>            Priority: Major
>              Labels: pull-request-available
>             Fix For: 3.6.0
>
>          Time Spent: 3.5h
>  Remaining Estimate: 0h
>
> There is a bunch of synchronization that occurs in the {{PathTrie}}.  Each node in the
tree requires a lock to view its children, so to traverse a tree that is 8 nodes deep, it
is required to lock 8 different times.  Also, I'm not really sure that the locking is consistent;
a node deep in the tree can be negatively impacted by another thread deleting the node's parent
at the same time.



--
This message was sent by Atlassian JIRA
(v7.6.14#76016)

Mime
View raw message