[SERVER-42773] Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked() Created: 12/Aug/19  Updated: 29/Oct/23  Resolved: 14/Aug/19

Status: Closed
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: 4.3.1

Type: Improvement Priority: Major - P3
Reporter: James Wahlin Assignee: James Wahlin
Resolution: Fixed Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Backwards Compatibility: Fully Compatible
Sprint: Query 2019-08-26
Participants:

 Description   

This will prevent further copy/paste propagation of assert.writeOK(). The assert.writeOK() function will be left in place to prevent from breaking external users.



 Comments   
Comment by Githook User [ 14/Aug/19 ]

Author:

{'name': 'James Wahlin', 'email': 'james.wahlin@mongodb.com', 'username': 'jameswahlin'}

Message: SERVER-42773 Replace uses of the assert.writeOK() Javascript assertion with assert.commandWorked()
Branch: master
https://github.com/mongodb/mongo/commit/39c3a5d77b976e131d37476f2e7255d6058f5093

Generated at Thu Feb 08 05:01:23 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.