-
Type: Improvement
-
Resolution: Won't Fix
-
Priority: Major - P3
-
None
-
Affects Version/s: None
-
Component/s: None
-
Replication
Presently, we have validation of readConcern that occurs in a few places in the code. This can lead to some unexpected consequences, such as read concern validation occurring later than expected (see SERVER-47444).
In some cases, this separation of validation seems unavoidable, e.g., the service entry point level validation versus the strategy.cpp validation, or the validation that must occur on transaction unstash.
We should investigate whether it's possible to merge the validation that occurs at the service entry point level with the validation that occurs in the replication coordinator, provided that the read concern is not expected to change between these two code locations.
- is related to
-
SERVER-47444 Assertion to guard against individual commands inside transactions specifying their own readConcern happens after waiting for readConcern
- Closed