Skip to content
/ server Public

MDEV-38537 - sysschema.pr_ps_setup_show_enabled fails sporadically#4530

Merged
svoj merged 1 commit intoMariaDB:10.11from
svoj:pr-10.11-MDEV-38537
Jan 12, 2026
Merged

MDEV-38537 - sysschema.pr_ps_setup_show_enabled fails sporadically#4530
svoj merged 1 commit intoMariaDB:10.11from
svoj:pr-10.11-MDEV-38537

Conversation

@svoj
Copy link
Contributor

@svoj svoj commented Jan 11, 2026

Test was affected by incompletely closed preceding connections.

Make test agnostic to concurrent connections by querying performance_schema.threads only for connections that it uses.

@gkodinov gkodinov added the MariaDB Foundation Pull requests created by MariaDB Foundation label Jan 12, 2026
OR NAME LIKE '%con\_%'
OR NAME LIKE '%signal_handler%';
OR NAME LIKE '%signal_handler%'
OR (NAME='thread/sql/one_connection' AND PROCESSLIST_ID!=CONNECTION_ID());
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

I suspect that a condition on NAME is redundant, it'd be enough to check PROCESSLIST_ID only.

But ok, shouldn't hurt.

Copy link
Contributor Author

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

@vuvova, result file records the following threads:

enabled_threads thread_type
aria/checkpoint_background      BACKGROUND
innodb/page_cleaner_thread      BACKGROUND
mysys/statement_timer   BACKGROUND
root@localhost  FOREGROUND
sql/main        BACKGROUND
sql/manager     BACKGROUND

I think we want to add to the disable list only foreground threads.

@svoj svoj enabled auto-merge (rebase) January 12, 2026 19:37
Test was affected by incompletely closed preceding connections.

Make test agnostic to concurrent connections by querying
performance_schema.threads only for connections that it uses.
@svoj svoj force-pushed the pr-10.11-MDEV-38537 branch from 60e9ae2 to 2d31ec1 Compare January 12, 2026 19:38
@svoj svoj merged commit 16311b0 into MariaDB:10.11 Jan 12, 2026
13 of 17 checks passed
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

MariaDB Foundation Pull requests created by MariaDB Foundation

Development

Successfully merging this pull request may close these issues.

3 participants