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

Remove SortedDataInterface::newRandomCursor()

    XMLWordPrintableJSON

Details

    • Fully Compatible
    • Query 2018-08-13

    Description

      SortedDataInterface::newRandomCursor() was implemented only by the MMAPv1 storage engine in order to implement storage-optimized $sample. Now that MMAPv1 is no longer supported, this method can be removed from the storage API. WiredTiger and other storage engines can still offer storage-optimized $sample support via RecordStore::getRandomCursor().

      Attachments

        Activity

          People

            david.storch@mongodb.com David Storch
            david.storch@mongodb.com David Storch
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: