As part of SERVER-19735, Andy Schwerin noted that we should have testing for jsCore passthrough using multi-version sharded configuration. Then we should move aggregation tests to jsCore, so then we'd check that summation/averaging work correctly when mongos is older than mongod.
I don't think moving the aggregation tests into jsCore is a prerequisite to adding this test suite. SERVER-25430 is an example of where we added a test suite that reuses the tests in the jstests/aggregation/ directory to run them against a sharded cluster. The machinery to run tests against a sharded cluster with an older version of mongos already exists via the TestData.mongosBinVersion option that was added as part of SERVER-21487.
I'm reassigning this ticket to the Query team's backlog and moving it back into "Needs triage" so that they can assess how important adding this test suite is. My impression is that the necessary machinery in our testing infrastructure to write this test suite already exists and that there isn't work for the TIG team to do here.
|