Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

PS-9470 : Code refresh for PS 8.4.3 - post merge MTR fix (fixed auth_… #5465

Merged

Conversation

dlenev
Copy link
Contributor

@dlenev dlenev commented Oct 28, 2024

…sec.acl_tables_row_locking test).

auth_sec.acl_tables_row_locking test failed due to different order of rows returned by queries on P_S.data_locks, which was caused by Upstream's change to P_S.data_locks implementation as part of fix for Bug#36302624 "performance_schema.data_lock_waits is generated with O(N^3) complexity".

See: mysql/mysql-server@96ccd8d

The probelm is not specific to PS and affects Upstream as well.

This patch fixes the problem by adding ORDER BY clause to query on P_S.data_locks run by this test, ensuring stable order of result rows, similarly how it is done in some other tests querying this P_S table.

…sec.acl_tables_row_locking test).

auth_sec.acl_tables_row_locking test failed due to different order of
rows returned by queries on P_S.data_locks, which was caused by
Upstream's change to P_S.data_locks implementation as part of fix for
Bug#36302624 "performance_schema.data_lock_waits is generated with O(N^3)
complexity".

See: mysql/mysql-server@96ccd8d

The probelm is not specific to PS and affects Upstream as well.

This patch fixes the problem by adding ORDER BY clause to query on
P_S.data_locks run by this test, ensuring stable order of result
rows, similarly how it is done in some other tests querying this
P_S table.
Copy link
Collaborator

@percona-ysorokin percona-ysorokin left a comment

Choose a reason for hiding this comment

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

LGTM

@dlenev dlenev merged commit 393ce5f into percona:release-8.4.3-3 Oct 28, 2024
6 of 8 checks passed
@dlenev dlenev deleted the ps-9470-acl_tables_row_locking-fix branch October 28, 2024 12:13
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

2 participants