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

Move up initialization of range deleter processor's `state`

    • Type: Icon: Bug Bug
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 6.2.0-rc0
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-11-14
    • 55

      The range deleter processor's state is initialized right after the thread.
      Move it up in order to make sure the thread does not read a wrong value before initialization happens. When the race condition happens, the thread will return and no range deletion will be served.

            Assignee:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Reporter:
            pierlauro.sciarelli@mongodb.com Pierlauro Sciarelli
            Votes:
            0 Vote for this issue
            Watchers:
            3 Start watching this issue

              Created:
              Updated:
              Resolved: