Uploaded image for project: 'Core Server'
  1. Core Server
  2. SERVER-69398

Check filler_collection already exists in explain_missing_collection.js

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 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

      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@mongodb.com Enrico Golfieri
            Reporter:
            enrico.golfieri@mongodb.com Enrico Golfieri
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

              Created:
              Updated:
              Resolved: