[DOCS-14790] Update replSetResizeOplog type mismatch Created: 13/Sep/21  Updated: 30/Oct/23  Resolved: 15/Sep/21

Status: Closed
Project: Documentation
Component/s: manual, mongosh, Server
Affects Version/s: 5.0.0
Fix Version/s: Server_Docs_20231030

Type: Task Priority: Minor - P4
Reporter: Dave Cuthbert (Inactive) Assignee: Dave Cuthbert (Inactive)
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Related
Participants:
Days since reply: 2 years, 21 weeks ago
Epic Link: DOCSP-15042

 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.

 

 



 Comments   
Comment by Githook User [ 15/Sep/21 ]

Author:

{'name': 'Dave Cuthbert', 'email': 'dave.cuthbert@mongodb.com', 'username': 'davemungo'}

Message: DOCS-14790 update type for replSetResizeOplog size param
Branch: v5.0
https://github.com/mongodb/docs/commit/65407cb55ae2f72136bfa12c7fea45427c7ccf57

Comment by Githook User [ 15/Sep/21 ]

Author:

{'name': 'Dave Cuthbert', 'email': 'dave.cuthbert@mongodb.com', 'username': 'davemungo'}

Message: DOCS-14790 update type for replSetResizeOplog size param
Branch: master
https://github.com/mongodb/docs/commit/db417cdc99b731061a5a8c4f64a37146906a96a4

Generated at Thu Feb 08 08:11:12 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.