Bug #39037 NDB : TransporterCallback::import() contains segment linking bug
Submitted: 26 Aug 2008 9:48 Modified: 5 Oct 2008 16:33
Reporter: Frazer Clement Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1 OS:Any
Assigned to: Frazer Clement CPU Architecture:Any

[26 Aug 2008 9:48] Frazer Clement
Description:
TransporterCallback::import() as called during deliver_signal() appears to incorrectly link Section segments in some scenarios

How to repeat:
Reproduced by running MTR ndb_optimize_table.  Better testcase required.

Requirements : 
  Import long section of length != multiple of 60 words.
  Attempt to traverse section using m_nextSegment refs.

Suggested fix:
Modify import() logic to ensure m_nextSegment always set.
[26 Aug 2008 11:07] Frazer Clement
Triage - Impact *appears* to be minimal.
[26 Aug 2008 16:55] Jonas Oreland
push to 6.2 (and upwards)
[27 Aug 2008 15:19] 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/52742
[27 Aug 2008 15:27] 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/52749
[27 Aug 2008 16:00] 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/52754
[27 Aug 2008 16:07] 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/52755
[27 Aug 2008 16:08] 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/52756
[12 Sep 2008 8:16] Jon Stephens
This appears to be internal/testing-related only with no user-facing changes evident, no need to document. Can be closed after all merges complete.
[5 Oct 2008 16:33] Jon Stephens
Appears to have been merged to 6.2/6.3/6.4; closed.
[12 Dec 2008 23:29] Bugs System
Pushed into 6.0.7-alpha  (revid:frazer@mysql.com-20080827151905-hjg8r1v8et04fr5j) (version source revid:tomas.ulin@sun.com-20080902154454-pvi3xa61d2wtxtbg) (pib:5)