Config term and version are duplicated in ReplSetHeartbeatResponse

XMLWordPrintableJSON

    • Type: Improvement
    • Resolution: Unresolved
    • Priority: Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Replication
    • None
    • 3
    • None
    • None
    • None
    • None
    • None
    • None

      An old TODO points out that term is duplicated between ReplSetHeartbeatResponse._configTerm and ReplSetConfig._term. ReplSetHeartbeatResponse._config is a ReplSetConfig, so we don't need to store ReplSetHeartbeatResponse_term separately. The same is true of ReplSetHeartbeatResponse._version.

      If we change this, then there may be backwards compatibility issues to work around where the fields are expected to exist in the old version and are not present in the new version.

            Assignee:
            Unassigned
            Reporter:
            Brad Cater
            Votes:
            0 Vote for this issue
            Watchers:
            5 Start watching this issue

              Created:
              Updated: