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

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

    • Type: Icon: Improvement Improvement
    • Resolution: Done
    • Priority: Icon: Major - P3 Major - P3
    • 2.1.2
    • Affects Version/s: None
    • Component/s: None
    • Labels:
      None

      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().

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

              Created:
              Updated:
              Resolved: