[SERVER-75982] Enable certain query behavior test cases when testing via mongos Created: 11/Apr/23  Updated: 12/Dec/23

Status: Backlog
Project: Core Server
Component/s: None
Affects Version/s: None
Fix Version/s: None

Type: Task Priority: Major - P3
Reporter: Kyle Suarez Assignee: Backlog - Query Execution
Resolution: Unresolved Votes: 0
Labels: pm3278-m2
Remaining Estimate: Not Specified
Time Spent: Not Specified
Original Estimate: Not Specified

Assigned Teams:
Query Execution
Participants:

 Description   

There are two specific test cases:

  • jstests/core/map_reduce_validation.js will skip validating that mapReduce fails when run against a view if the fixture is via mongos. After some local testing I believe it should "just work" and we can remove the check that prevents the validation.
  • jstests/aggregation/sources/group/group_large_documents.js is marked assumes_against_mongod_not_mongos since a pipeline that is split into a shards and merging part will hit the bson-too-large error when merging. However, it would be possible to test this against a mongos if it is tested against a one-shard cluster as there would be no merging part. The goal would be to explicitly test this scenario.

Generated at Thu Feb 08 06:31:32 UTC 2024 using Jira 9.7.1#970001-sha1:2222b88b221c4928ef0de3161136cc90c8356a66.