-
Type: Bug
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Catalog and Routing
-
ALL
-
CAR Team 2024-12-09
-
0
If a user specifies a wc, the expectation is that upon failure a writeConcernError field is added to the response, with context regarding the failure.
However, if the user operation happens to join a filtering metadata refresh that fails to wait for write concern on a noop write, a write concern error is surfaced but no context is added to the response. This might break user applications.
It is not clear if the solution is to somehow add this context, because the fact that a noop write is being done is an implementation detail that should not be leaked, and the write concern parameters in the SSCCL are hardcoded, and might differ from user provided ones. If we surface the write concern error with context of an internal wait with different parameters, the user might be confused.
- related to
-
SERVER-96030 mongos_unsharded_commands_interface_parity_with_replica_set.js should join metadata refresh
- Closed