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

Do not respond to heartbeat from removed node if it has the same version-term pair

    XMLWordPrintableJSON

Details

    • Icon: Task Task
    • Resolution: Won't Fix
    • Icon: Major - P3 Major - P3
    • None
    • None
    • None
    • None
    • Repl 2022-10-17
    • 0

    Description

      We have some BFs that occur due to the problem of heartbeats not being able to be cancelled "fully" (any outstanding heartbeats that are sent across the network cannot be cancelled). TSERVER-36417 attempted to drop the pooled connection to removed nodes after a reconfig, but we saw the heartbeat issue prevent that ticket from being fixed.

      As a workaround within the replication code, if a node sees a heartbeat from a removed node with the same version-term pair, we should not respond and continue to heartbeat. See linked tickets for context.

      Attachments

        Activity

          People

            huayu.ouyang@mongodb.com Huayu Ouyang
            ali.mir@mongodb.com Ali Mir
            Votes:
            0 Vote for this issue
            Watchers:
            4 Start watching this issue

            Dates

              Created:
              Updated:
              Resolved: