-
Type: Bug
-
Resolution: Done
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Labels:None
-
ALL
I'm trying to start docker images as -shardsvr, but it returns the known error message "BadValue: Cannot start a shardsvr as a standalone server. Please use the option --replset to start the node as a replica set." despite using the option -replSet literally in the same command.
So for some weird reason the check fails to properly recognize an existing --replSet option.
This happens using the most recent docker images for MongoDB Community and Enterprise (5.0.5).
Starting them as a replica set alone (without --shardsvr) works fine without errors, and gives me a properly working replica set.