buf_flush_LRU_list_batch() accounts flushed pages multiple times

Bug #1234029 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
Medium
Laurynas Biveinis
5.1
Invalid
Undecided
Unassigned
5.5
Invalid
Undecided
Unassigned
5.6
Fix Released
Medium
Laurynas Biveinis

Bug Description

buf_flush_LRU_list_batch gets the number of flushed pages in local count variable, which is not reset before each call. Thus count becomes running total instead of a last batch. Then it gets added to other variables that were supposed to count the running total, greatly inflating their values.

A regression in https://code.launchpad.net/~laurynas-biveinis/percona-server/xtradb-cleaner-tuning-5.6/+merge/188368.

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-1427

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.