[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: |
|
||||
| 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: |
| Comment by Githook User [ 15/Sep/21 ] |
|
Author: {'name': 'Dave Cuthbert', 'email': 'dave.cuthbert@mongodb.com', 'username': 'davemungo'}Message: |