Data race on namespace stored in RecordStore during rename

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 7.0.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Execution Team 2023-04-17
    • 1
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      Rename operations normally use copy-on-write as the concurrency control on Collection instances. However, there's a separate namespace variable stored in the RecordStore that is shared among all Collection instances.

      As reads do not take Collection locks we may read this variable concurrently with a new value being written even as the rename operation holds a MODE_X lock on the collection.

              Assignee:
              Henrik Edin
              Reporter:
              Henrik Edin
              Votes:
              0 Vote for this issue
              Watchers:
              6 Start watching this issue

                Created:
                Updated:
                Resolved: