[SERVER-83582] Investigate if insert_id_undefined.js should not check whether the collection is created Created: 27/Nov/23  Updated: 01/Dec/23

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

Type: Bug Priority: Major - P3
Reporter: Enrico Golfieri Assignee: Backlog - Catalog and Routing
Resolution: Unresolved Votes: 0
Labels: None
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Catalog and Routing
Operating System: ALL
Participants:
Story Points: 2

 Description   

According to SERVER-10518 in case of implicit creation of a document with `_id:undefined` we would experience a crash on secondaries. 
The nsert_id_undefined.js attempts to test this case and verifies that
1. The document is not created
2. The collection is not created (implicit creation)

However, in case of sharded collection, the collection would be created anyway so the test is automatically banned in every passthrough suite.

This ticket is to investigate if point 2 is actually needed.
This would allow to remove the tag `assumes_no_implicit_collection_creation_after_drop` which would enable the test in every suite and increate test coverage.

 


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