-
Type: Bug
-
Resolution: Unresolved
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: Replication
-
Query Optimization
-
ALL
-
0
It is not generally meaningful for client drivers to attach a readConcern argument to getMore commands. The purpose of readConcern is to set the isolation and consistency behavior for a newly issued query, and the purpose of getMore is to fetch a batch of documents from a cursor established by a previously issued query. Furthermore, the getMore command is an implementation detail of the driver and servers, rather than an interface presented to client applications. As such, mongodb servers must either ignore readConcern on getMore commands or reject getMore commands with readConcern arguments as malformed when such commands come from external clients.
Returning an error is less subject to misinterpretation by driver authors, and so is the suggested approach.
- is related to
-
DRIVERS-415 Ensure that readConcern is not sent as part of a getMore command
- Blocked
- related to
-
SERVER-32102 Audit tests in change_streams_secondary_reads suite for assumptions of causally consistent getMores
- Closed