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

Fix the check of _resolvedNss in AutoGetCollection

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.1.11
    • Affects Version/s: None
    • Component/s: Storage
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2019-05-06
    • 17

      We resolve the namespace again after locking the namespace in AutoGetCollection, and we have a while loop to keep checking until they are the same. However, we didn't assign the newly resolved namespace to _resolvedNss so the comparison is always between newly resolved one and the originally resolved one (rather than last resolved one).

            Assignee:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Reporter:
            xiangyu.yao@mongodb.com Xiangyu Yao (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated:
              Resolved: