Bug #42013 Inconsistent Option Names for ndb_mgmd
Submitted: 10 Jan 2009 11:16 Modified: 9 Sep 2009 12:57
Reporter: Jon Stephens Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Cluster (NDB) storage engine Severity:S3 (Non-critical)
Version:mysql-5.1-telco-7.0 OS:Any
Assigned to: Magnus BlÄudd CPU Architecture:Any
Tags: --config-file, --configdir, -> 5.1.30-ndb-6.4.0+, ndb_mgmd

[10 Jan 2009 11:16] Jon Stephens
Description:
For ndb_mgmd, we have the --config-file option for the configuration file but --configdir for the configuration directory. The option names should follow a consistent pattern.

How to repeat:
See output of ndb_mgmd --help.

Suggested fix:
Change "--configdir" to "--config-dir" so that the names are consistent.
[25 Aug 2009 11:54] 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/81496
[9 Sep 2009 9:44] Bugs System
Pushed into 5.1.37-ndb-7.0.8 (revid:magnus.blaudd@sun.com-20090909094004-i0ybvjoqnznhmfw9) (version source revid:magnus.blaudd@sun.com-20090909094004-i0ybvjoqnznhmfw9) (merge vers: 5.1.37-ndb-7.0.8) (pib:11)
[9 Sep 2009 9:49] Bugs System
Pushed into 5.1.35-ndb-7.1.0 (revid:magnus.blaudd@sun.com-20090909094832-0tp1bzkew0j95qdg) (version source revid:magnus.blaudd@sun.com-20090909094832-0tp1bzkew0j95qdg) (merge vers: 5.1.35-ndb-7.1.0) (pib:11)
[9 Sep 2009 12:57] Jon Stephens
Documented in the NDB-7.0.8 changelog as follows:

        --configdir is now accepted by ndb_mgmd as an alias for the
        --config-dir option.

Also updated ndb_mgmd options documentation.

Closed.
[9 Sep 2009 13:07] Jon Stephens
--config-dir is now accepted by ndb_mgmd as an alias for the
        --configdir option.