Details
-
Improvement
-
Status: Closed
-
Minor
-
Resolution: Later
-
None
-
None
-
None
-
None
Description
In the ServerShutDownHandler, the log replay starts only after all the regions have been assigned. It might make sense to do the log replay as and when assignment happens for the regions rather than wait for the batch of assignments to complete. As part of region opening, the store files are read, and if a certain store file block is on a slow datanode, it slows down the assignment process. Maybe this can be amortized by having the log replay in parallel.