Bug #74180 Remove ndb_cpcd
Submitted: 1 Oct 2014 15:31 Modified: 2 Jan 2019 13:18
Reporter: Todd Farmer (OCA) Email Updates:
Status: Closed Impact on me:
None 
Category:MySQL Cluster: Packaging Severity:S3 (Non-critical)
Version: OS:Any
Assigned to: CPU Architecture:Any

[1 Oct 2014 15:31] Todd Farmer
Description:
This utility has been deprecated since 7.0:

17.4.8 ndb_cpcd — Automate Testing for NDB Development

This utility is found in the libexec directory. It is part of an internal automated test framework used in testing and debugging MySQL Cluster. Because it can control processes on remote systems, it is not advisable to use ndb_cpcd in a production cluster.

The source files for ndb_cpcd may be found in the directory storage/ndb/src/cw/cpcd, in the MySQL Cluster source tree.

Deprecated feature.  As of MySQL Cluster NDB 7.0, this program is deprecated and no longer actively maintained. It is subject to removal in a future MySQL Cluster version. 

http://dev.mysql.com/doc/refman/5.1/en/mysql-cluster-programs-ndb-cpcd.html

This needs to be removed, particularly because it seems to leverage bash in Cygwin:

./storage/ndb/src/cw/cpcd/Process.cpp:438:  FILE *fpipe = _popen("sh -c 'cygpath -w `which sh`'", "rt"); 

How to repeat:
See above.

Suggested fix:
Remove ndb_cpcd.
[2 Jan 2019 13:18] Jon Stephens
Binary was removed in NDB 7.2.1 and later.

Sources removed in NDB 7.2.35/7.3.23/7.4.22/7.5.12/7.6.8/8.0.13. Docs updated to reflect same.

Closed.
[2 Jan 2019 13:19] Jon Stephens
(Removal of binary was documented long ago, see e.g. https://dev.mysql.com/doc/refman/5.6/en/mysql-cluster-programs-ndb-cpcd.html.)