[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:
|
| 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. |