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

Understand the notion of external yield in the find command

    • Type: Icon: Improvement Improvement
    • Resolution: Unresolved
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None
    • Catalog and Routing

      The find command is already using the acquisition API. Find also uses external yielding. Use this ticket to understand what acquisition API requires to work with the external yield.

      For reference, StashedTransactionResources is a class that is used to help with external yields. This could be a starting point to understand external yields.

      YieldedTransactionResources is the method that does the yielding of the resources.

      HandleTransactionResourcesFromStasher is used by getMore to reacquire the resources and yield them back.

      Please document in the ticket as you learn.

            Assignee:
            Unassigned Unassigned
            Reporter:
            sulabh.mahajan@mongodb.com Sulabh Mahajan
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated: