[DOCS-13058] Investigate changes in SERVER-43644: validate() in shell/collections.js should only accept an object, not also a boolean which is interpreted as the 'full' option Created: 25/Sep/19  Updated: 13/Nov/23  Resolved: 31/Jan/20

Status: Closed
Project: Documentation
Component/s: manual, Server
Affects Version/s: None
Fix Version/s: 4.3.1, Server_Docs_20231030, Server_Docs_20231106, Server_Docs_20231105, Server_Docs_20231113

Type: Task Priority: Major - P3
Reporter: Backlog - Core Eng Program Management Team Assignee: Kay Kim (Inactive)
Resolution: Fixed Votes: 0
Labels: docs-investigating
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Issue Links:
Documented
documents SERVER-43644 validate() helper in src/shell/collec... Closed
Duplicate
Related
related to DOCS-13681 Undocument background : true Closed
is related to DOCS-13157 Investigate changes in SERVER-30357: ... Closed
Participants:
Days since reply: 3 years, 33 weeks, 1 day ago
Epic Link: DOCS: 4.4 Server Release Work

 Description   

Description

Downstream Change Summary

In v4.2, the validate() shell helper took a boolean that was interpreted as the value for the 'full' parameter of the validate cmd.

Now in v4.4, the validate() shell helper accepts an object parameter, in which {full: <bool>, background: <bool>} can be explicitly specified.

Valid calls:
validate()
validate({})
validate({full: false, background: true})

Description of Linked Ticket

Code in question.

Scope of changes

Update validate and cmd for new format.

Impact to Other Docs

MVP (Work and Date)

Resources (Scope or Design Docs, Invision, etc.)



 Comments   
Comment by Githook User [ 23/Jun/20 ]

Author:

{'name': 'Kay Kim', 'email': 'kay.kim@10gen.com', 'username': 'kay-kim'}

Message: DOCS-13681: partial revert of DOCS-13058, DOCSP-7688
Branch: master
https://github.com/mongodb/docs/commit/1702bd62aab381097142505831debd2d05359392

Comment by Kay Kim (Inactive) [ 23/Jun/20 ]

Partially revert per DOCS-13681.

Comment by Githook User [ 31/Jan/20 ]

Author:

{'username': 'kay-kim', 'name': 'Kay Kim', 'email': 'kay.kim@10gen.com'}

Message: DOCS-13058, DOCSP-7688: background validation
Branch: master
https://github.com/mongodb/docs/commit/6a0b2b4db53d1eed801367b950752f922db2698b

Comment by Ravind Kumar (Inactive) [ 25/Sep/19 ]

Note: Ticket opened early. Re-evaluate based on server ticket status before starting any work.

Comment by Ravind Kumar (Inactive) [ 25/Sep/19 ]

cc kay.kim  another early trigger here.

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