The Readwrite-Splitting MCP feature plugin helps users plan, review, apply, and validate readwrite-splitting rule changes and status changes for ShardingSphere-Proxy logical databases. It generates readwrite-splitting DistSQL only. It does not generate storage unit registration, physical DDL, index DDL, migration, backfill, data probes, or physical metadata probes.
runtimeDatabases entry should connect to ShardingSphere-Proxy.<logic-database>.rw_ds with write storage unit write_ds and read storage units read_ds_0, read_ds_1.read_ds_1 for rule rw_ds, then validate the status.CREATE, ALTER, or DROP READWRITE_SPLITTING RULE.ALTER READWRITE_SPLITTING RULE ... ENABLE or DISABLE.algorithm_recommendations before selecting a load-balance algorithm.RANDOM and ROUND_ROBIN do not require load-balance properties. WEIGHT requires one property per read storage unit.plan_id, resources_to_read, next_actions, and distsql_artifacts before applying the workflow.For the general review flow of rule changes, see Rule Change Flow.
