Bug #29565 managment server can log entries multiple times after mgmd restart
Submitted: 5 Jul 2007 7:20 Modified: 6 Nov 2007 8:43
Reporter: Stewart Smith Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:5.0, 5.1 OS:Any
Assigned to: Stewart Smith CPU Architecture:Any

[5 Jul 2007 7:20] Stewart Smith
Description:
mgmd restart just deletes all objects and starts them again.

MgmtSrvr::stopEventLog() is empty and does nothing. this means that when we re-init the mgmd on mgmd restart, we create more event loggers.

stopEventLog should actually stop the event log.

How to repeat:
restart mgmd

Suggested fix:
stopEventLog should actually stop the event log.
[18 Sep 2007 12:45] Stewart Smith
fix mgm restart and cluster log

Attachment: bug29565_mgm_multiple_log_entries.patch (text/x-patch), 617 bytes.

[3 Oct 2007 6:21] 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/34800

ChangeSet@1.2484, 2007-10-03 16:16:48+10:00, stewart@flamingspork.com +1 -0
  [PATCH] BUG#29565 managment server can log entries multiple times after mgmd restart
  
  Close the event log on shutdown of mgmd (in stopEventLog())
  
  Index: ndb-work/ndb/src/mgmsrv/MgmtSrvr.cpp
  ===================================================================
[3 Oct 2007 6:43] Stewart Smith
pushed to 5.0-ndb and 5.1-ndb
[10 Oct 2007 8:41] Jon Stephens
Documented bugfix in mysql-5.1.22-ndb-6.2.7 changelog; left status as PQ.
[15 Oct 2007 17:52] Jon Stephens
Also documented bugfix in mysql-5.1.22-ndb-6.3.4 changelog; left status as PQ.
[5 Nov 2007 13:53] Bugs System
Pushed into 6.0.4-alpha
[5 Nov 2007 13:56] Bugs System
Pushed into 5.1.23-rc
[5 Nov 2007 13:58] Bugs System
Pushed into 5.0.52
[6 Nov 2007 8:43] 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 in 5.0.52, 5.1.23, and 6.0.4 changelogs. Closed.