[DOC] innodb_adaptive_checkpoint description wrong

Bug #1218767 reported by cenalulu
6
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Percona Server moved to https://jira.percona.com/projects/PS
Invalid
Undecided
Unassigned
5.1
Fix Released
Medium
Hrvoje Matijakovic
5.5
Invalid
Undecided
Unassigned
5.6
Invalid
Undecided
Unassigned

Bug Description

[In:Percona Server Documentation]
In the dscription of "innodb_adaptive_checkpoint" found here :http://www.percona.com/doc/percona-server/5.1/scalability/innodb_io.html, it says that the "estimate" flush method, "if the oldest modified age exceeds 1/2 of the maximum age capacity, InnoDB starts flushing blocks every second".
But In the source code of Percona-Server-5.1.70-rel14.8, I found that for "estimate" flush methold, it starts flushing when oldest modified age exceeds 1/4 of the maximum age capacity. Maybe we should modify the doc, change 1/2 to 1/4 .
See the source code as below:

in storage/innodb_plugin/srv/Srv0srv.c
line 3140

    } else if ((log_sys->lsn - oldest_lsn)
        > (log_sys->max_checkpoint_age)/4 ) {

Tags: doc

Related branches

Revision history for this message
Valerii Kravchuk (valerii-kravchuk) wrote :

Code in 5.5 looks the same, but manual (http://www.percona.com/doc/percona-server/5.5/scalability/innodb_io_55.html) refers to 1/4.

summary: - [DOC]innodb_adaptive_checkpoint description wrong
+ [DOC] innodb_adaptive_checkpoint description wrong
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-3016

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.