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

add an explicit requireOrder argument to NamespaceDetailsTransient::getCursor()

    XMLWordPrintable

Details

    • Improvement
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 2.1.2
    • None
    • None

    Description

      The following assumption makes it difficult for NamespaceDetailsTransient::getCursor() to be used for index only projection by clients other than the query implementation.

              /** If no ParsedQuery was supplied, it's assumed no reordering will be applied. */
              bool requireOrder() const { return !_parsedQuery; }

      It is straightforward to replace this with an additional argument to NamespaceDetailsTransient::getCursor().

      Attachments

        Issue Links

          Activity

            People

              aaron Aaron Staple
              aaron Aaron Staple
              Votes:
              0 Vote for this issue
              Watchers:
              0 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: