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

Constructed ReplSetConfig should always construct the recipientConfig

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

      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@mongodb.com Mathis Bessa (Inactive)
            Reporter:
            mathis.bessa@mongodb.com Mathis Bessa (Inactive)
            Votes:
            0 Vote for this issue
            Watchers:
            2 Start watching this issue

              Created:
              Updated:
              Resolved: