Constructed ReplSetConfig should always construct the recipientConfig

XMLWordPrintableJSON

    • Type: Bug
    • Resolution: Fixed
    • Priority: Major - P3
    • 6.0.0-rc1
    • Affects Version/s: None
    • Component/s: None
    • None
    • Fully Compatible
    • ALL
    • Server Serverless 2022-04-18
    • 172
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None
    • None

      The problem is that when we compared the oldConfig vs the newConfig in the replication_coordinator, the newConfig is constructed from the MutableReplSetConfig which removes the data for `recipientConfig`.

      So eventually when we compare the old vs new config, the new config no longer holds the recipientConfig and the comparison fails.

      We should ensure that the `recipientConfig` is always set if it was previously present on the object it is constructed from.

              Assignee:
              Mathis Bessa (Inactive)
              Reporter:
              Mathis Bessa (Inactive)
              Votes:
              0 Vote for this issue
              Watchers:
              2 Start watching this issue

                Created:
                Updated:
                Resolved: