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

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix
9.1.0-rc09.1.0-rc1026
Components
Server components related to this issue

No components specified.

Labels
Tags and classification

No labels assigned.