-
Type:
Bug
-
Resolution: Done
-
Priority:
Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
ALL
-
CAR Team 2025-02-03, CAR Team 2025-02-17, CAR Team 2025-03-03, CAR Team 2025-03-17, CAR Team 2025-03-31, CAR Team 2025-04-14, CAR Team 2025-04-28, CAR Team 2025-05-12, CAR Team 2025-05-26, CAR Team 2025-06-09, CAR Team 2025-06-23, CAR Team 2025-07-07, CAR Team 2025-07-21, CAR Team 2025-08-04, CAR Team 2025-08-18, CAR Team 2025-09-01, CAR Team 2025-09-15, CAR Team 2025-09-29, CAR Team 2025-10-13, CAR Team 2025-10-27
-
None
-
None
-
None
-
None
-
None
-
None
-
None
SERVER-97831 provided a targeted effective fix for the issue explained in its description.
However, it is still unclear why the reproducible proved that the bug could only affect collections that existed in the past before being dropped via dropDatabase.
Purpose of this ticket is to investigate whether there was some deeper issue related with some stale in-memory cache.
After locally reverting SERVER-97831, the issue can be reproduced by executing the following steps:
- db.runCommand({create:'a', writeConcern:{w:'majority', wtimeout:300}});
- db.dropDatabase();
- db.runCommand({create:'b', writeConcern:{w:'majority', wtimeout:300}}); // Implicitly re-create the db by creating another collection
- Block secondaries (e.g. stop replication on secondaries via fsync lock)
- db.runCommand({create:'a', writeConcern:{w:'majority', wtimeout:300}}); // This should fail with a write concern error but succeeds
- depends on
-
SERVER-113003 Clear CSR metadata for UNTRACKED collections during dropCollection
-
- Backlog
-
- is related to
-
SERVER-100936 Mongos must return WCE as a top-level error for create collection
-
- Closed
-
- related to
-
SERVER-97831 Create collection may be wrongly acknowledged on sharded clusters when write concern not respected
-
- Closed
-