Details
-
Task
-
Resolution: Fixed
-
Minor - P4
-
5.0.0
-
None
Description
Fixing known issue, replSetResizeOplog type verification.
There isn't a list of other parameters at present. ( From parent https://jira.mongodb.org/browse/DOCSP-18647 )
For example, the replSetResizeOplog command documentation lists db.adminCommand({ "replSetResizeOplog": 1, size: 16384 }) as an example. This does not currently work in mongosh, because mongosh does not send the size argument as a double; the server however only accepts doubles here.
Examples like these should be updated to provide a version that runs in mongosh; i.e., db.adminCommand({ "replSetResizeOplog": 1, size: Double(16384) }) in this case.
Unfortunately, we do not currently have an overview over which commands are affected exactly.