Uploaded image for project: 'Node.js Driver'
  1. Node.js Driver
  2. NODE-2537

createCollection helper should not run listIndexes outside of strict mode

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • Not Applicable
    • 3.6.0
    • None
    • None

    Description

      Our createCollections helper has a concept of a "strict" mode, where the collection name is checked before attempting the create in order to prevent duplicate creation. The current implementation of the helper always runs a listCollections and returns a cached version of the collection if it already exists, even if the options for the operation are different.

      Attachments

        Issue Links

          Activity

            People

              matt.broadstone@mongodb.com Matt Broadstone
              matt.broadstone@mongodb.com Matt Broadstone
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

              Dates

                Created:
                Updated:
                Resolved: