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

createCollection helper should not run listIndexes outside of strict mode

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 3.6.0
    • Affects Version/s: Not Applicable
    • Component/s: None
    • None

      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.

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

              Created:
              Updated:
              Resolved: