Bug #59818 | The return of select in db is the last version Data in the db | ||
---|---|---|---|
Submitted: | 30 Jan 2011 8:31 | Modified: | 14 Nov 2011 7:30 |
Reporter: | Denny mingjian | Email Updates: | |
Status: | No Feedback | Impact on me: | |
Category: | MySQL Server | Severity: | S2 (Serious) |
Version: | 5.x | OS: | Linux (RedHat) |
Assigned to: | CPU Architecture: | Any | |
Tags: | binary log, consistency, replication |
[30 Jan 2011 8:31]
Denny mingjian
[30 Jan 2011 8:51]
Peter Laursen
One idea: http://dev.mysql.com/doc/refman/5.0/en/innodb-parameters.html#sysvar_innodb_flush_log_at_t... Peter (not a MySQL person)
[30 Jan 2011 8:53]
Peter Laursen
no! sorry!
[30 Jan 2011 8:56]
Peter Laursen
yes .. maybe! :-)
[30 Jan 2011 9:02]
Denny mingjian
mysql> show variables like "innodb_flush_log_at_trx_commit"; +--------------------------------+-------+ | Variable_name | Value | +--------------------------------+-------+ | innodb_flush_log_at_trx_commit | 1 | +--------------------------------+-------+ 1 row in set (0.00 sec)
[31 Jan 2011 7:41]
Valeriy Kravchuk
Do you ever delete data in your application? Is it possible that while you are parsing the log and preparing SELECT, data row with specific PK value is already deleted?
[31 Jan 2011 14:08]
Denny mingjian
No. Because I can get the correct row data after I found this error happened!
[14 Oct 2011 7:30]
Valeriy Kravchuk
Please, check if this problem still happens with recent server versions, 5.1.59 and/or 5.5.16.
[15 Nov 2011 7:00]
Bugs System
No feedback was provided for this bug for over a month, so it is being suspended automatically. If you are able to provide the information that was originally requested, please do so and change the status of the bug back to "Open".