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

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

    XMLWordPrintable

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 4.1.11
    • Storage
    • None
    • Fully Compatible
    • ALL
    • Storage NYC 2019-05-06
    • 19

    Description

      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.

      Attachments

        Activity

          People

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

            Dates

              Created:
              Updated:
              Resolved: