-
Type: New Feature
-
Resolution: Won't Do
-
Priority: Major - P3
-
None
-
Affects Version/s: 3.7.3
-
Component/s: None
-
None
-
Query
Sharding has several features that operate on all commands (or large swaths of commands):
- safe secondary reads
- shard and database versioning
- causal consistency
For several of these, we have declarative tests that define a test case for every command (from listCommands output) and check that the feature works correctly for that command.
As query moves towards pushing more operations into aggregation, we lose coverage in these tests, since they do not define test cases for every possible initial aggregation stage.
This is especially problematic because these aggregation stages often have special logic ($changeStreams, $listCollections, $currentOp come to mind), so just testing a simple "aggregate" is not enough.
- related to
-
SERVER-46920 Add test cases for all agg stages to shard versioning and database versioning sharding tests
- Closed