-
Type: Task
-
Resolution: Fixed
-
Priority: Major - P3
-
Affects Version/s: None
-
Component/s: Aggregation Framework, Testing Infrastructure
-
None
-
Fully Compatible
-
v4.4
-
Query 2020-03-09
As part of $merge/$out running on secondaries, we need to write tests by hand that run the read part of these operations on secondaries. This could end up causing us to write test cases which are largely redundant with pre-existing tests in the aggregation suite, since those existing tests only cover primary reads.
In order to improve this situation, and to ensure that we have test coverage of secondary reads for aggregation operations going forward, we should create a new test suite called aggregation_secondary_reads. This should work much like the secondary_reads_passthrough that we already have for jsCore, but it will run the tests in jstests/aggregation/ instead.
- is depended on by
-
SERVER-45972 Test that $out can write to the same collection it is reading from
- Closed
- is duplicated by
-
SERVER-45970 Test explain for $out/$merge on secondaries
- Closed
-
SERVER-45971 Test that bypassDocumentValidation works for $out/$merge on secondaries
- Closed
-
SERVER-46046 Test that $out/$merge on secondaries works with causal consistency
- Closed