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

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

    XMLWordPrintable

    Details

    • Type: Improvement
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 2.1.2
    • Component/s: None
    • Labels:
      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

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

                Dates

                Created:
                Updated:
                Resolved: