getTagsFromStorage may cause acquisitions to become invalid

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Server Security
    • ALL
    • Server Security 2025-12-05
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      In the process of doing SERVER-112058 we discovered that the function wraps every call in a writeConflictRetry loop even if they are exclusively doing reads.

      If the loop were to encounter a write conflict, it would abandon the snapshot and potentially cause an existing collection acquisition to have a stale pointer. This has the potential to result in a system crash or undefined behaviour.

            Assignee:
            Gabriel Marks
            Reporter:
            Jordi Olivares Provencio
            Votes:
            0 Vote for this issue
            Watchers:
            1 Start watching this issue

              Created:
              Updated: