On Tue, Feb 22, 2011 at 12:04 AM, Vince Wei <[email protected]> wrote: > AssignmentManager maintain regions to servers relation(regions field) and > servers to regions(servers field) relation in memory. > But ServerShutdownHandler scan META to get regions on the dead server. > Why not retrieve it from AssignmentManager directly? >
One of the lads has suggested that in offline discussion also. I think what happened was that the 0.20.x shutdown handler was just 'translated' to work in the 0.90.0 context; we used scan the meta table in 0.20.x. Thanks for pointing this out. If you want to put up a patch to change it, that'd be appreciated. Thanks, St.Ack
