Summary:
This diff adds support for the new automatic DDL replication mode YBA UI.
Automatic DDL replication is a new schema change mode for xCluster replication and
xCluster DR configurations. (See
https://docs.yugabyte.com/stable/yugabyte-platform/back-up-restore-universes/disaster-recovery/#schema-change-modes
for more details on schema change modes).
This new mode calls for slight adjustments to the UI text as users will only need to run
DDL changes on the source universe in automatic DDL replicaiton mode.
This diff contains a minor fix to the backend logic which checks if automatic ddl replication
is supported by the db versions on the selected universes.
This change also exposes the `automaticDdlMode` field in the DR config GET response object so that the
UI can easily read this value without needing to fetch the underlying xCluster config.
Lastly, we removed the runtime configuration for setting the minimum db version for automatic DDL replication support.
This is because we normally wouldn't need to have users updating this value after we've determined the minimum supported version and
released the feature.
Test Plan:
Create 2 pairs of universes. One pair which are both on versions above the minimum supported DB version
for automatic DDL replication, and one pair which are both below.
Set up both pairs on manual mode.
Upgrade the schema change mode (by removing and recreating replication after changing the applicable
runtim config) for both universes until they can no longer be upgraded.
Verify no upgrade prompt is shown for the pair of universes below the automatic DDL replication threshold
once they have semi-automatic schema change mode xCluster config set up.
The pair of universes on the newer db version should be on automatic DDL replication with no more
upgrade prompt.
Verify all the text changes are as expected.
{F378212}
{F378210}
The updated text:
{F379471}
{F379472}
{F379473}
{F379479}
{F379469}
{F379470}
Reviewers: hzare, yng, rmadhavan, kkannan, mkazerooni
Reviewed By: hzare
Differential Revision: https://phorge.dev.yugabyte.com/D45745