Details
-
Improvement
-
Status: Resolved
-
Major
-
Resolution: Fixed
-
None
-
None
-
Reviewed
Description
Currently move_servers_rsgroup and move_tables_rsgroup commands and APIs are taking lot of time.
In my test environment, to move a server with 100 regions it takes around 137 seconds.
Similarly it takes around same time to move a table with 100 regions to other group.
The time taken in rsgroup meta update is negligible. Almost all the time is taken in region moment. This is happening because region is moved serially using getAssignmentManager().move(region) API
API getAssignmentManager().moveAsync(regionplan) can be used to move the regions in parallel to improve the performance of region group move servers and tables commands and APIs