createCollection helper should not run listIndexes outside of strict mode

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.6.0
    • Affects Version/s: Not Applicable
    • Component/s: None
    • None
    • None
    • None
    • None
    • None
    • None
    • 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
              Reporter:
              Matt Broadstone
              None
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: