Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-100920

Allow a configurable limit for number of consecutive duplicates in $sample from random cursor

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Optimization
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Currently, the sample from random cursor aggregation stage will fail after seeing (hard-coded) 100 consecutive duplicate documents, but there have been cases where changing this limit could help to mitigate issues with mongosync.

            Assignee:
            Unassigned Unassigned
            Reporter:
            nicholas.zolnierz@mongodb.com Nicholas Zolnierz
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              None
              None
              None
              None