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

Use enhanced WiredTiger next_random cursors for oplog stones

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 3.2.1, 3.3.0
    • Affects Version/s: None
    • Component/s: Storage
    • Fully Compatible
    • QuInt E (01/11/16)

      The basic implementation of WiredTiger random cursors doesn't do a very good job if the tree is unbalanced.

      There is an enhanced next_random implementation that gives a pseudo random set of keys distributed somewhat evenly across the file. In order to use the new functionality it's necessary to tell WiredTiger approximately how many samples are going to be taken.

            Assignee:
            max.hirschhorn@mongodb.com Max Hirschhorn
            Reporter:
            alexander.gorrod@mongodb.com Alexander Gorrod
            Votes:
            0 Vote for this issue
            Watchers:
            7 Start watching this issue

              Created:
              Updated:
              Resolved: