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

Convert ReplIndexBuildState from struct to class

    • Type: Icon: Task Task
    • Resolution: Fixed
    • Priority: Icon: Major - P3 Major - P3
    • 4.9.0
    • Affects Version/s: None
    • Component/s: 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

      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.

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

              Created:
              Updated:
              Resolved: