Uploaded image for project: 'Documentation'
  1. Documentation
  2. DOCS-11593

Docs for SERVER-34244: listCollections should support a nameOnly option

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 3.7.4
    • None
    • Server

    Description

      Documentation Request Summary:

      No documentation summary in engineering ticket

      Scope of changes:

      • listCollections cmd
      • db.getCollectionInfos()
      • db.getCollectionNames() – just blurb that no locks
      • check /reference/program/mongoreplay example that includes listcollection
      • relnotes

      Impact to other docs outside of this product:

      None

      MVP:

      Resources:

      Engineering Ticket Description:

      Currently the listCollections command needs to lock all collections to return their information. However, often only names are necessary. So, improve the listCollections command to support a nameOnly option like listDatabases and only require a MODE_IS lock on the database for that command.

      Attachments

        Activity

          People

            kay.kim@mongodb.com Kay Kim (Inactive)
            kay.kim@mongodb.com Kay Kim (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved:
              5 years, 36 weeks, 2 days ago