-
Type: Task
-
Resolution: Fixed
-
Priority: Minor - P4
-
Affects Version/s: 5.0.0
-
Labels:None
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.