Bug #29118 Incorrect handling of loglap in redo invalidation (Error while reading REDO log)
Submitted: 14 Jun 2007 17:53 Modified: 4 Jul 2007 9:20
Reporter: Jonas Oreland Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:4.1, 5.0, 5.1 OS:Any
Assigned to: Jonas Oreland CPU Architecture:Any

[14 Jun 2007 17:53] Jonas Oreland
Description:
During redo invalidation loglap is compared using == instead of >=
E.g

S0 (2) S1 (2) S2(1) S3(1) S4(1)

"correct" lap is 1
invalidation code will then *not* invalidate S0 S1
which will cause bugs on later restarts...

---

This is a potential crash every time redo invalidation *should* wrap
(on subsequent restarts)

How to repeat:
.

Suggested fix:
compare >=
[21 Jun 2007 9:18] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/29254

ChangeSet@1.2154, 2007-06-21 11:18:33+02:00, jonas@perch.ndb.mysql.com +2 -0
  ndb - bug#29057 bug#29067 and bug#29118 (wl2325-5.0)
    Fix 3 problems in REDO validation that could(will) lead to "Error while reading REDO log"
[25 Jun 2007 5:06] Bugs System
A patch for this bug has been committed. After review, it may
be pushed to the relevant source trees for release in the next
version. You can access the patch from:

  http://lists.mysql.com/commits/29470

ChangeSet@1.2311, 2007-06-25 07:05:25+02:00, jonas@perch.ndb.mysql.com +2 -0
  ndb - bug#29057 bug#29067 and bug#29118
    Fix 3 problems in REDO validation that could(will) lead to "Error while reading REDO log"
[29 Jun 2007 17:15] Jon Stephens
Documented bugfix for telco-6.1.16 release, left status in PP for mainline fixes.
[2 Jul 2007 12:50] Jonas Oreland
pushed to drop5/6 51-ndb, 51-telco, telco-6.1
[3 Jul 2007 6:41] Jon Stephens
Also documented for telco-6.2.3 release.
[3 Jul 2007 18:57] Bugs System
Pushed into 5.1.21-beta
[4 Jul 2007 9:20] Jon Stephens
Thank you for your bug report. This issue has been committed to our source repository of that product and will be incorporated into the next release.

If necessary, you can access the source repository and build the latest available version, including the bug fix. More information about accessing the source trees is available at

    http://dev.mysql.com/doc/en/installing-source.html

Documented bugfix in 5.1.21 changelog
[10 Jul 2007 13:28] Bugs System
Pushed into 5.0.46