SERVER-107842In Code Review
Improve error message emitted by mongos when 'QueryExceededMemoryLimitNoDiskUseAllowed' is thrown, but 'allowDiskUseByDefault' is set to 'true'
As the title describes, his ticket tracks the work to improve error message emitted by mongos when 'QueryExceededMemoryLimitNoDiskUseAllowed' is thrown, but 'allowDiskUseByDefault' is set to 'true'. Following the decision to not pursue SERVER-87735 given that the performance hit of this change (from executing merging $groups/spilling stages on the shards instead of on the router) is too significant, we should improve the error mentioned above to clarify that 'allowDiskUseByDefault' is ignore