~laurynas-biveinis/percona-server/bug905334-5.1

  • Committer: Laurynas Biveinis
  • Date: 2012-08-19 15:14:44 UTC
  • Revision ID: laurynas.biveinis@percona.com-20120819151444-bf3ervl5rnpp0dno
Fix bug 905334 (Intermittent innodb_bug56680 crash).

The cause is that the buffer pool mutex split added a temporary buffer
block mutex unlock to buf_LRU_free_block() but one its call sites in
buf_page_get_gen() failed to account for the possibility of block
pointing to another page after buf_LRU_free_block() returns due to
this unlock.

Fixed by checking that we indeed have the same page as before the
buf_LRU_free_block() call and retrying the read if that's not the
case.

Adjusted the buf_LRU_free_block() header comment to reflect the
reality.
Filename Latest Rev Last Changed Committer Comment Size
..
build 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree Diff
doc 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree Diff
HandlerSocket-Plugin-for-MySQL 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree Diff
kewpie 410.4.1 12 years ago Patrick Crews Merge in kewpie (the test-runner formerly known as Diff
Percona-Server 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree Diff
python-for-subunit2junitxml 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree Diff
UDF 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree Diff
.bzrignore 456.1.1 11 years ago Hrvoje Matijakovic * bug fix for Bug #1013968 * modified doc Makefile 22 bytes Diff Download File
COPYING.show_temp_51 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree 1.6 KB Diff Download File
handlersocket.patch 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree 1018 bytes Diff Download File
Makefile 447.4.1 11 years ago Stewart Smith remove the unneeded lrusort.py script. The server 2.6 KB Diff Download File
README.HandlerSocket 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree 429 bytes Diff Download File
README.txt 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree 481 bytes Diff Download File
File subunit2junitxml 334 12 years ago Stewart Smith Import MySQL 5.1.59 tree 2.2 KB Diff Download File