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

Convert ReplIndexBuildState from struct to class

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Fixed
    • Icon: Major - P3 Major - P3
    • 4.9.0
    • None
    • Storage
    • Fully Compatible
    • Execution Team 2020-04-20, Execution Team 2020-05-04, Execution Team 2020-05-18, Execution Team 2020-06-01, Execution Team 2020-06-29, Execution Team 2020-10-19, Execution Team 2020-11-02

    Description

      ReplIndexBuildState struct has mutex lock to protect the access of few ReplIndexBuildState data members. Currently, there are ways, developers can make mistakes in accessing those mutex protected members. Also, this has created dependency between 2 data members of ReplIndexBuildState. We should consider having ReplIndexBuildState provide accessors for members that require holding the mutex.

      Attachments

        Activity

          People

            benety.goh@mongodb.com Benety Goh
            suganthi.mani@mongodb.com Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: