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

PCQ::popMany should return a container, rather than output to an iterator

    • Type: Icon: Improvement Improvement
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.8
    • Affects Version/s: None
    • Component/s: Internal Code
    • Labels:
      None
    • Fully Compatible
    • Service Arch 2019-01-28, Service Arch 2019-02-11

      Writing to an output iterator is wonky, and dangerous when it comes to raw pointers. Rather than relying on that, let's return our internal container directly and allow for stealing the queue if we're taking all the elements.

            Assignee:
            mira.carey@mongodb.com Mira Carey
            Reporter:
            mira.carey@mongodb.com Mira Carey
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: