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

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

    XMLWordPrintableJSON

Details

    • Bug
    • Status: Closed
    • Major - P3
    • Resolution: Fixed
    • None
    • 6.2.0-rc0
    • None
    • None
    • Fully Compatible
    • ALL
    • Sharding EMEA 2022-11-14
    • 55

    Description

      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.

      Attachments

        Issue Links

          Activity

            People

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

              Dates

                Created:
                Updated:
                Resolved: