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

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

    XMLWordPrintable

    Details

    • Type: Bug
    • Status: Closed
    • Priority: Major - P3
    • Resolution: Fixed
    • Affects Version/s: None
    • Fix Version/s: 4.1.11
    • Component/s: Storage
    • Labels:
      None
    • Backwards Compatibility:
      Fully Compatible
    • Operating System:
      ALL
    • Sprint:
      Storage NYC 2019-05-06
    • Linked BF Score:
      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

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

              Dates

              Created:
              Updated:
              Resolved: