Details
-
Bug
-
Status: Closed
-
Major
-
Resolution: Won't Fix
-
0.90.4
-
None
-
None
Description
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().