In some cases, some specific shards may contain tables whose query or write requests are massive, and these tables are hoped to be migrated to some node alone.
Detailed Changes
Provide the shard affinity mechanism when generating the shard topology
Support to manipulate the affinity configures by debug api
Rationale
In some cases, some specific shards may contain tables whose query or write requests are massive, and these tables are hoped to be migrated to some node alone.
Detailed Changes
Test Plan
New unit tests are added.