Skip to content

feat: add AWS Aurora blue/green deployment support - #6044

Draft
wazir-ahmed wants to merge 27 commits into
v3.0from
feat/aws-aurora-bgd
Draft

feat: add AWS Aurora blue/green deployment support#6044
wazir-ahmed wants to merge 27 commits into
v3.0from
feat/aws-aurora-bgd

feat: harden Aurora BGD lifecycle handling

561bff5
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis failed Aug 15, 2026 in 14m 39s

Quality Gate failed

Failed conditions
E Security Rating on New Code (required ≥ A)

See analysis details on SonarQube Cloud

Catch issues before they fail your Quality Gate with our IDE extension SonarQube for IDE

Annotations

Check failure on line 7336 in lib/MySQL_HostGroups_Manager.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to undefined behavior.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAHFgLl4lBg994_s1jq&open=AaAHFgLl4lBg994_s1jq&pullRequest=6044

Check failure on line 111 in lib/MySQL_HostGroups_Manager.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the use of "new" with an operation that automatically manages the memory.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOvNzS2Z8t3kyMib&open=AZ_6yOvNzS2Z8t3kyMib&pullRequest=6044

Check failure on line 590 in test/tap/tests/unit/admin_disk_upgrade_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to undefined behavior.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_9HRSyDOBxvEIpQd7S&open=AZ_9HRSyDOBxvEIpQd7S&pullRequest=6044

Check failure on line 212 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOgczS2Z8t3kyMiD&open=AZ_6yOgczS2Z8t3kyMiD&pullRequest=6044

Check warning on line 237 in test/tap/tests/test_aurora_bgd_cluster_sync-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Hard-coded passwords are security-sensitive.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAHFfnQ4lBg994_s1jY&open=AaAHFfnQ4lBg994_s1jY&pullRequest=6044

Check failure on line 6996 in lib/MySQL_Monitor.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

const_cast removing const qualification from the type of a pointer may lead to undefined behavior.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAHFgSB4lBg994_s1kC&open=AaAHFgSB4lBg994_s1kC&pullRequest=6044

Check failure on line 864 in test/tap/tests/unit/config_write_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOYazS2Z8t3kyMh1&open=AZ_6yOYazS2Z8t3kyMh1&pullRequest=6044

Check failure on line 318 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_9HRgWDOBxvEIpQd7V&open=AZ_9HRgWDOBxvEIpQd7V&pullRequest=6044

Check failure on line 50 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to undefined behavior.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOgczS2Z8t3kyMh5&open=AZ_6yOgczS2Z8t3kyMh5&pullRequest=6044

Check failure on line 6522 in lib/MySQL_Monitor.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

const_cast removing const qualification from the type of a pointer may lead to undefined behavior.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAHFgSB4lBg994_s1j2&open=AaAHFgSB4lBg994_s1j2&pullRequest=6044

Check failure on line 270 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOgczS2Z8t3kyMiI&open=AZ_6yOgczS2Z8t3kyMiI&pullRequest=6044

Check failure on line 92 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOgczS2Z8t3kyMh9&open=AZ_6yOgczS2Z8t3kyMh9&pullRequest=6044

Check failure on line 212 in lib/MySQL_HostGroups_Manager.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOvNzS2Z8t3kyMia&open=AZ_6yOvNzS2Z8t3kyMia&pullRequest=6044

Check failure on line 291 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOgczS2Z8t3kyMiL&open=AZ_6yOgczS2Z8t3kyMiL&pullRequest=6044

Check warning on line 48 in test/tap/tests/test_aurora_bgd_completion-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Hard-coded passwords are security-sensitive.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAHFf134lBg994_s1jc&open=AaAHFf134lBg994_s1jc&pullRequest=6044

Check failure on line 1998 in src/SQLite3_Server.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace the use of "new" with an operation that automatically manages the memory.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_9kwXMwKT_LGJfWpci&open=AZ_9kwXMwKT_LGJfWpci&pullRequest=6044

Check failure on line 59 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_9HRgWDOBxvEIpQd7T&open=AZ_9HRgWDOBxvEIpQd7T&pullRequest=6044

Check failure on line 6986 in lib/MySQL_Monitor.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace "rand" with the facilities in <random>.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAHFgSB4lBg994_s1kB&open=AaAHFgSB4lBg994_s1kB&pullRequest=6044

Check failure on line 240 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Rewrite the code so that you no longer need this "delete".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOgczS2Z8t3kyMiF&open=AZ_6yOgczS2Z8t3kyMiF&pullRequest=6044

Check failure on line 2447 in lib/ProxySQL_Cluster.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

C-style cast removing const qualification from the type of a pointer may lead to undefined behavior.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOxhzS2Z8t3kyMik&open=AZ_6yOxhzS2Z8t3kyMik&pullRequest=6044

Check failure on line 86 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

const_cast removing const qualification from the type of a pointer may lead to undefined behavior.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOgczS2Z8t3kyMh-&open=AZ_6yOgczS2Z8t3kyMh-&pullRequest=6044

Check failure on line 448 in test/deps/cluster_simulator/lib/aurora_utils.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this function to reduce its Cognitive Complexity from 65 to the 25 allowed.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_9kwAKwKT_LGJfWpcc&open=AZ_9kwAKwKT_LGJfWpcc&pullRequest=6044

Check failure on line 91 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOgczS2Z8t3kyMh8&open=AZ_6yOgczS2Z8t3kyMh8&pullRequest=6044

Check failure on line 6986 in lib/MySQL_Monitor.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Refactor this code to not nest more than 3 if|for|do|while|switch statements.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaAHFgSB4lBg994_s1j8&open=AaAHFgSB4lBg994_s1j8&pullRequest=6044

Check failure on line 75 in test/tap/tests/unit/aurora_bgd_config_unit-t.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Remove this use of "free".

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AZ_6yOgczS2Z8t3kyMh6&open=AZ_6yOgczS2Z8t3kyMh6&pullRequest=6044