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

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

    XMLWordPrintableJSON

Details

    • Icon: Improvement Improvement
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.1.8
    • None
    • Internal Code
    • None
    • Fully Compatible
    • Service Arch 2019-01-28, Service Arch 2019-02-11

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: