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

XMLWordPrintableJSON

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

      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 (Inactive)
              Reporter:
              Xiangyu Yao (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

                Created:
                Updated:
                Resolved: