Single unassigned directory is very slow when there are many unassigned nodes
-----------------------------------------------------------------------------

                 Key: HBASE-4324
                 URL: https://issues.apache.org/jira/browse/HBASE-4324
             Project: HBase
          Issue Type: Bug
          Components: zookeeper
    Affects Versions: 0.92.0
            Reporter: Todd Lipcon
             Fix For: 0.94.0


Because we use a single znode for /unassigned, and we re-list it every time its 
contents change, assignment speed per region is O(number of unassigned regions) 
rather than O(1). Every time something changes about one unassigned region, the 
master has to re-list the entire contents of the directory inside of 
AssignmentManager.nodeChildrenChanged().

--
This message is automatically generated by JIRA.
For more information on JIRA, see: http://www.atlassian.com/software/jira

        

Reply via email to