Skip to content

[DONOTMERGE] PgSQL pool starvation / worker imbalance investigation - #6189

Open
renecannao wants to merge 20 commits into
v3.0from
fix/pgsql-pool-starvation
Open

[DONOTMERGE] PgSQL pool starvation / worker imbalance investigation#6189
renecannao wants to merge 20 commits into
v3.0from
fix/pgsql-pool-starvation

EXPERIMENT: sort top 20% of the B band, at the 50ms interval

575f58a
Select commit
Loading
Failed to load commit list.
SonarQubeCloud / SonarCloud Code Analysis succeeded Sep 7, 2026 in 14m 5s

Annotations

Check failure on line 355 in lib/Base_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of "void *" with a more meaningful type.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaB-LZl5tHQhTlvpj0jW&open=AaB-LZl5tHQhTlvpj0jW&pullRequest=6189

Check failure on line 4138 in lib/PgSQL_Thread.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=AaB-LZ4UtHQhTlvpj0jZ&open=AaB-LZ4UtHQhTlvpj0jZ&pullRequest=6189

Check failure on line 4253 in lib/MySQL_Thread.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=AaB-LZ2VtHQhTlvpj0jX&open=AaB-LZ2VtHQhTlvpj0jX&pullRequest=6189

Check failure on line 4144 in lib/PgSQL_Thread.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=AaB-LZ4UtHQhTlvpj0ja&open=AaB-LZ4UtHQhTlvpj0ja&pullRequest=6189

Check failure on line 355 in lib/Base_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

Replace this use of "void *" with a more meaningful type.

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaB-LZl5tHQhTlvpj0jV&open=AaB-LZl5tHQhTlvpj0jV&pullRequest=6189

Check failure on line 287 in lib/Base_Thread.cpp

See this annotation in the file changed.

@sonarqubecloud sonarqubecloud / SonarCloud Code Analysis

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

See more on https://sonarcloud.io/project/issues?id=sysown_proxysql&issues=AaB-LZl5tHQhTlvpj0jU&open=AaB-LZl5tHQhTlvpj0jU&pullRequest=6189

Check failure on line 3447 in lib/PgSQL_Thread.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=AaB-LZ4UtHQhTlvpj0jY&open=AaB-LZ4UtHQhTlvpj0jY&pullRequest=6189

Check failure on line 6075 in lib/PgSQL_Thread.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=AaB-LZ4UtHQhTlvpj0jb&open=AaB-LZ4UtHQhTlvpj0jb&pullRequest=6189