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

    • Type: Icon: Task Task
    • Resolution: Won't Fix
    • Priority: Icon: Major - P3 Major - P3
    • None
    • Affects Version/s: None
    • Component/s: None
    • None
    • Repl 2022-10-17
    • 0

      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.

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

              Created:
              Updated:
              Resolved: