Directly take DBLock and CollectionLock in onCannotImplicitlyCreateCollection

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: Major - P3
    • 3.7.4
    • Affects Version/s: 3.7.3
    • Component/s: Sharding
    • None
    • Fully Compatible
    • Sharding 2018-04-09
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      We should not use the RAII helpers when taking the collection lock in onCannotImplicitlyCreateCollection (to check if the collection has already been created), because they can throw in the shardVersion or databaseVersion checks.

            Assignee:
            Esha Maharishi (Inactive)
            Reporter:
            Esha Maharishi (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: