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

UUIDCatalog::iterator::uuid() should not call repositionIfNeeded

    • 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
    • 19

      UUIDCatalog::iterator::uuid() should simply return the _uuid even if this uuid is dropped after the function returns. It's the caller's job to double check whether this uuid still exists. If UUIDCatalog::iterator::uuid() does the checking itself (by calling repositionIfNeeded), the result might still be outdated after it returns.

            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: