Convert ReplIndexBuildState from struct to class

XMLWordPrintableJSON

    • Type: Task
    • Resolution: Fixed
    • Priority: 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
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      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
            Reporter:
            Suganthi Mani
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: