Check filler_collection already exists in explain_missing_collection.js

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.1.0-rc2, 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • v6.1
    • Sharding EMEA 2022-09-05, Sharding EMEA 2022-09-19
    • 32
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      Currently a filler collection is created in order to create the db in case it doesn't already exist https://github.com/10gen/mongo/blob/97cdfef9e4f74918176f1916bc53ada8f9f66868/jstests/core/explain_missing_collection.js#L8. However, explain_missing_collection might run twice on the same cluster, causing createCollection to fail. A check to prevent that should be implemented 

            Assignee:
            Enrico Golfieri
            Reporter:
            Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: