Chapter 2: Tooling Overview - $indexStats, Part 3

mlaunch init --replicaset --sharded 4 --wiredTigerCacheSizeGB 0.5 --dir /data/m312SH --port 30000 --host localhost --oplogSize 10

The above script results with following warnings.

warning: ignoring unknown argument --oplogSize for mongod
warning: ignoring unknown argument --wiredTigerCacheSizeGB for mongos
warning: ignoring unknown argument --oplogSize for mongos

–oplogSize and --wiredTigerCacheSize parameters are not available for mlaunch tool based on mlaunch documentation

Please update the course material to reflect the same.

Thanks,
Mani P.

@ Manivannan_41078

First of all, mlaunch documentation you reference clearly says

In addition to all the listed parameters of mlaunch below, you can pass in any arbitrary options that a mongos or mongod binary would understand, and mlaunch will pass them on to the correct binary.

so I’m not clear why you think that these parameters are “…not available for mlaunch tool…” based on this documentation.

Moreover, the command given in the handout:

mlaunch init --replicaset --sharded 4 --wiredTigerCacheSizeGB 0.5 --dir /data/m312SH --port 30000 --host localhost --oplogSize 10

works correctly for me on both 3.6 and 4.0 systems. So I’m not clear why you are having problems, but it’s not the documentation nor the course material. If you can do some additional analysis and figure out what the real issue is and post that back here, I’ll try to help.