- 
    Type:Bug 
- 
    Resolution: Works as Designed
- 
    Priority:Major - P3 
- 
    None
- 
    Affects Version/s: None
- 
    Component/s: None
- 
    None
- 
        Query Execution
- 
        ALL
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
- 
        None
The mongos does not return WriteConcernError for findAndModify.
To reproduce: Setup a shard cluster of three nodes; create an unsharded or sharded collection and insert documents; stop one secondary replica from responding; send a findAndModifyCommand with writeConcern {w: 3, wtimeout: 1000}. The command response should include a WriteConcernError "WriteConcernTimeout".
This issue was discovered as part of the testing in SERVER-80103. Despite the fix for SERVER-97470, this test is still missing the WCE for sharded and unsharded collections.
- related to
- 
                    SERVER-80103 Mongos WriteConcernError Behavior Differs from Mongod -         
- Closed
 
-         
- 
                    SERVER-99207 Complete TODO listed in SERVER-98602 -         
- Closed
 
-