SERVER-115424ClosedWon't Fix

Investigate $limit vs $extensionLimit correctness in sharded collections

Both stages follow different execution paths and can return different results non-deterministically in a sharded collections topology. Investigate whether this discrepancy in results can be fixed on the extensions side (or if minimal server changes can be made that are specific to the extensionLimit stage). If so, update the MatchTopN extension to use $extensionLimit (and its relevant tests) and the extension_limit.js test to assert on the results instead of just the result set lengths for sh

Affected Versions
Versions known to exhibit this issue

No affected versions recorded.

Fixed Versions
Versions that include the fix

No fix available yet.

Components
Server components related to this issue

No components specified.

Labels
Tags and classification
dino-extensions-api