Created by Laurynas Biveinis and last modified
Get this branch:
bzr branch lp:~laurynas-biveinis/percona-server/bug1239062
Only Laurynas Biveinis can upload to this branch. If you are Laurynas Biveinis please log in for upload directions.

Branch merges

Related bugs

Related blueprints

Branch information

Recent revisions

494. By Laurynas Biveinis

Fix bug 1239062 (InnoDB: Error: semaphore wait has lasted > 600
seconds. InnoDB: We intentionally crash the server, because it appears
to be hung. InnoDB: Assertion failure in thread <nr> in file
srv0srv.cc line 2124. Abort (sig=6) in srv_error_monitor_thread

The issue is the backoff loop in log_preflush_pool_modified_pages()
turning into an infinite loop when the function is called with dirty
buffer pool, the innermost loop enters, and a buffer pool flush list
flush that fully cleans the pool starts and fully completes before the
next buf_flush_list_in_progress() check. Then that check will keep on
returning false until something dirties the buffer pool, which may
never happen.

Fix by adjusting buf_flush_flush_list_in_progress() to return true
also in the case when all the buffer pool instances are clean.

Branch metadata

Branch format:
Branch format 7
Repository format:
Bazaar repository format 2a (needs bzr 1.16 or later)
Stacked on:
This branch contains Public information 
Everyone can see this information.