Bug #37442 SUB_GCP_COMPLETE_REP/ACK is sent after last unsubscribe
Submitted: 17 Jun 2008 8:11 Modified: 2 Jul 2008 17:11
Reporter: Jonas Oreland Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:* OS:Any
Assigned to: Jonas Oreland CPU Architecture:Any

[17 Jun 2008 8:11] Jonas Oreland
Description:
The c_subscriber_nodes bitmask is not cleared after last unsubscribe
If this happens when a node is down, then that node will not have the corresponding bit set after it has started.

This means that epoch will not properly acked.

How to repeat:
run new testprg

Suggested fix:
keep counter aswell as mask
[17 Jun 2008 8:49] 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/47969

2625 jonas@mysql.com	2008-06-17
      ndb - bug#37442
        remove node from c_subscriber_nodes-mask when last subscribers is removed
[2 Jul 2008 7:00] Jonas Oreland
pushed to 6.3.16 and 6.2.16
[2 Jul 2008 17:11] Jon Stephens
Documented as follows in the NDB 6.2.16 and 6.3.16 changelogs:

        If subscription was terminated while a node was down, the epoch was not 
        properly acknowledged by that node.
[12 Dec 2008 23:26] Bugs System
Pushed into 6.0.6-alpha  (revid:jonas@mysql.com-20080617084939-0xgl2vgkdst6c5pr) (version source revid:jonas@mysql.com-20080812185642-1nevjb94zj621dqx) (pib:5)