DocumentResultsAndMetadata over-eagerly pulls documents from mongot-extension

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Query Integration
    • v9.0
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The DRM's exchange eagerly attempts to fill its 16MB buffer before forwarding documents to idLookup. On a $limit-less $search query, even if a client's batch size is 101, the exchange will unnecessarily attempt to fill 16MB of documents and send them all to idLookup. This is hugely costly both in latency and CPU.

      Here isĀ 

            Assignee:
            Aditya Deshpande
            Reporter:
            William Zhou
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: