Oh yeah it's on top of handleSplitReport... mmm then I'm really confused how the user on IRC got an uncleaned parent reassigned...
J-D On Tue, Jan 24, 2012 at 8:41 PM, Stack <[email protected]> wrote: > On Tue, Jan 24, 2012 at 5:28 PM, Jean-Daniel Cryans <[email protected]> > wrote: >> Right now it's possible to get split parents stuck in PENDING_CLOSE >> simply by trying to balance them. Looking over the 0.90 code, we don't >> remove the parent from AssignmentManager.servers until >> CatalogJanitor.cleanParent() calls AssignmentManager.regionOffline() >> BUT HMaster.balance() calls AssignmentManager.getAssignments() which >> uses AssignmentManager.servers. >> >> Basically the issue is that a parent is considered well and assigned >> until it gets cleaned up, which means that it's also considered during >> reassignment. >> > > This is 0.90? Not 0.92? > > In 0.90, when we receive a split, the AM.handleSplit is called and it > seems to do right thing (remove parent from RIT, regions and servers > lists) so that it shouldn't be considered doing assignments. > > St.Ack
