buf_flush_LRU_tail(): incorrect buf_flush_LRU() return value check and srv_cleaner_eviction_factor handling

Bug #1234513 reported by Laurynas Biveinis
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Fix Released
High
Laurynas Biveinis
5.6
Fix Released
High
Laurynas Biveinis

Bug Description

In buf_flush_LRU_tail():
- there is an incorrect else branch to if (buf_flush_LRU(...)). The code there should be executed unconditionally or the last flush batch is failed to be accounted.
- the (srv_cleaner_eviction_factor ? n.evicted : n.flushed) condition in instance stop check is inverted.

Tags: xtradb

Related branches

tags: added: xtradb
Revision history for this message
Shahriyar Rzayev (rzayev-sehriyar) wrote :

Percona now uses JIRA for bug reports so this bug report is migrated to: https://jira.percona.com/browse/PS-731

To post a comment you must log in.
This report contains Public information  
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.