Cleanup pass for CursorManager/getMore()/listCollections/listIndexes

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Done
    • Priority: Major - P3
    • 3.0.0-rc6
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      • Extend jstests for listCollections/listIndexes (test output format, the batchSize option, default batching, and killing/timeout if feasible).
      • Other commands that return cursors should use Command::appendCursorResponseObject() helper.
      • Change jstests invoking listCollections/listIndexes to not send "cursor: {}" option.
      • Wrap GlobalCursorIdCache::_secureCreate in owning smart pointer (fixes memory leak on shutdown). (covered by SERVER-16661)
      • Figure out if CursorManager::ns() should actually exist (consider also converting CursorManager into an interface, with a "collection" implementation and a "global" implementation, and unit test if feasible).
      • listIndexes output "cursor.ns" field should be "<database>.$cmd.listIndexes.<collection>".
      • Rename MockStage (new name: BufferedDataStage?).

            Assignee:
            Gregory McKeon (Inactive)
            Reporter:
            J Rassi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: