[SERVER-74748] Replace usages of `coll.save` in `jstests/sharding` Created: 10/Mar/23  Updated: 16/Mar/23  Resolved: 16/Mar/23

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

Type: Improvement Priority: Major - P3
Reporter: Pierlauro Sciarelli Assignee: [DO NOT USE] Backlog - Sharding EMEA
Resolution: Won't Do Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Sharding EMEA
Participants:

 Description   

Sharding js tests must stop using using db.collection.save that has been deprecated in favor of db.collection.insertOne or db.collection.replaceOne.

The change must be applied on all tests matching this grep:

git grep save jstests/sharding/



 Comments   
Comment by Tommaso Tocci [ 16/Mar/23 ]

There is no need to replace old usages of save, but we can stop using it for new tests.

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