MDEV-38537 - sysschema.pr_ps_setup_show_enabled fails sporadically#4530
Merged
svoj merged 1 commit intoMariaDB:10.11from Jan 12, 2026
Merged
MDEV-38537 - sysschema.pr_ps_setup_show_enabled fails sporadically#4530svoj merged 1 commit intoMariaDB:10.11from
svoj merged 1 commit intoMariaDB:10.11from
Conversation
vuvova
approved these changes
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()); |
Member
There was a problem hiding this comment.
I suspect that a condition on NAME is redundant, it'd be enough to check PROCESSLIST_ID only.
But ok, shouldn't hurt.
Contributor
Author
There was a problem hiding this comment.
@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.
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.
60e9ae2 to
2d31ec1
Compare
1 task
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Add this suggestion to a batch that can be applied as a single commit.This suggestion is invalid because no changes were made to the code.Suggestions cannot be applied while the pull request is closed.Suggestions cannot be applied while viewing a subset of changes.Only one suggestion per line can be applied in a batch.Add this suggestion to a batch that can be applied as a single commit.Applying suggestions on deleted lines is not supported.You must change the existing code in this line in order to create a valid suggestion.Outdated suggestions cannot be applied.This suggestion has been applied or marked resolved.Suggestions cannot be applied from pending reviews.Suggestions cannot be applied on multi-line comments.Suggestions cannot be applied while the pull request is queued to merge.Suggestion cannot be applied right now. Please check back later.
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.