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

Fix bug 1552673 (Buffer pool may fail to remove dirty pages for a par… #397

Merged
merged 1 commit into from
Mar 7, 2016

Conversation

laurynas-biveinis
Copy link
Contributor

…ticular tablespace from the flush list)

buf_flush_or_remove_pages logic is incorrect if one of the
"must_restart" arg-taking subroutines (buf_flush_or_remove_page and
buf_flush_try_yield) set it to true, i.e. it is ignored and one more
loop iteration is performed before exit.

Fix by checking must_restart and quitting the loop in the same
iteration for both of these subroutines.

http://jenkins.percona.com/job/percona-server-5.6-param/1085/

…ticular tablespace from the flush list)

buf_flush_or_remove_pages logic is incorrect if one of the
"must_restart" arg-taking subroutines (buf_flush_or_remove_page and
buf_flush_try_yield) set it to true, i.e. it is ignored and one more
loop iteration is performed before exit.

Fix by checking must_restart and quitting the loop in the same
iteration for both of these subroutines.
laurynas-biveinis added a commit that referenced this pull request Mar 7, 2016
Fix bug 1552673 (Buffer pool may fail to remove dirty pages for a par…
@laurynas-biveinis laurynas-biveinis merged commit 3d96a26 into percona:5.6 Mar 7, 2016
@laurynas-biveinis laurynas-biveinis deleted the bug1552673-5.6 branch March 7, 2016 09:35
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
1 participant